Skip to content
Snippets Groups Projects
Commit 6bed8cbb authored by Patrick Godwin's avatar Patrick Godwin Committed by Patrick Godwin
Browse files

lloidhandler.py: fix indentation issue from rebase

parent 93bc0f34
No related branches found
No related tags found
1 merge request!55Add high-level Stream API to build GStreamer pipelines
......@@ -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
......
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