Skip to content
Snippets Groups Projects
Commit a2168231 authored by Prathamesh Joshi's avatar Prathamesh Joshi
Browse files

use the ready_for_extinction method in the marg job

parent c194d33c
No related branches found
No related tags found
1 merge request!564Online new extinction
Pipeline #583205 passed with warnings
......@@ -245,7 +245,7 @@ def main():
# get the zerolag pdf for this bin and use it to perform bin-specific extinction
zerolag_counts_url = url_from_registry(reg, zerolag_counts_path)
pdf += far.RankingStatPDF.from_xml(ligolw_utils.load_url(zerolag_counts_url, verbose = options.verbose, contenthandler = far.RankingStat.LIGOLWContentHandler), u"gstlal_inspiral_likelihood")
if sum(pdf.zero_lag_lr_lnpdf.array) > 0:
if pdf.ready_for_extinction():
# LR calculation has started and we are ready to perform first-round extinction
if data:
data += pdf.new_with_extinction()
......
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