Add catch for empty log_evidence_err array
Compare changes
+ 4
− 1
@@ -1320,7 +1320,10 @@ class ResultList(list):
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
I ran into an issue when trying to use the ResultList
object where all the log evidence errors in my individual runs were infinite so I wasn't able to use the combine()
method. I've just added a catch that if this array is empty, return nan as the new result.log_evidence_err
. I could also see the value in returning the standard deviation of the evidences from the individual runs. What do the rest of you think?