Skip to content
Snippets Groups Projects
Commit 018fe208 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_inspiral_marginalize_likelihood: Allow for the possibility that both...

gstlal_inspiral_marginalize_likelihood: Allow for the possibility that both distributions and this_distributions could be None
parent 39310ba7
No related branches found
No related merge requests found
......@@ -155,13 +155,13 @@ for n, url in enumerate(urls, start = 1):
if this_ranking_data is None and options.require_ranking_stat_data:
raise ValueError("\"%s\" contains no ranking statistic PDF data" % url)
if distributions is None:
if distributions is None and this_distributions is not None:
distributions = this_distributions
else:
elif this_distributions is not None:
distributions += this_distributions
if ranking_data is None:
if ranking_data is None and this_ranking_data is not None:
ranking_data = this_ranking_data
else:
elif this_ranking_data is not None:
ranking_data += this_ranking_data
seglists |= this_seglists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment