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

Allowing impossible inj candidates bug fix pt2

parent 620c885a
No related branches found
No related tags found
No related merge requests found
Pipeline #587014 passed
......@@ -878,6 +878,7 @@ class LLOIDTracker:
self.ranking_stat_input_url = ranking_stat_input_url
self.ranking_stat_output_url = ranking_stat_output_url
self.rankingstat = rankingstat
self.allow_impossible_candidates = rankingstat.allow_impossible_candidates
bottle.route("/remove_counts.txt", method = "GET")(self.web_get_remove_counts)
bottle.route("/remove_counts.txt", method = "POST")(self.web_set_remove_counts)
......@@ -1199,6 +1200,7 @@ class LLOIDTracker:
for tries in range(10):
try:
self.rankingstat, _ = far.parse_likelihood_control_doc(ligolw_utils.load_url(self.ranking_stat_input_url, verbose = self.verbose, contenthandler = far.RankingStat.LIGOLWContentHandler))
self.rankingstat.allow_impossible_candidates = self.allow_impossible_candidates
except OSError as e:
print(f'Error in reading rank stat on try {tries}: {e}', file=sys.stderr)
time.sleep(1)
......
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