diff --git a/gstlal-inspiral/python/lloidhandler.py b/gstlal-inspiral/python/lloidhandler.py index cc1b2dc8baddd52dac9b88274a6fbb57010ee0ff..6811f706837561cb7595abc8dcd65406596a56df 100644 --- a/gstlal-inspiral/python/lloidhandler.py +++ b/gstlal-inspiral/python/lloidhandler.py @@ -1156,13 +1156,13 @@ class LLOIDTracker: # so that the "how many instruments were on test" # is aware of this buffer. snr_min = self.rankingstat.snr_min - for instrument in instruments: - # FIXME At the moment, empty triggers are added to - # inform the "how many instruments were on test", the - # correct thing to do is probably to add metadata to - # the buffer containing information about which - # instruments were on - self.rankingstat.denominator.triggerrates[instrument].add_ratebin(list(map(float, buf_seg[instrument])), len([event for event in events if event.snr >= snr_min and event.ifo == instrument and event.search == "signal_model"])) + for instrument in instruments: + # FIXME At the moment, empty triggers are added to + # inform the "how many instruments were on test", the + # correct thing to do is probably to add metadata to + # the buffer containing information about which + # instruments were on + self.rankingstat.denominator.triggerrates[instrument].add_ratebin(list(map(float, buf_seg[instrument])), len([event for event in events if event.snr >= snr_min and event.ifo == instrument and event.search == "signal_model"])) # FIXME At the moment, empty triggers are added to # inform the "how many instruments were on test", the