Skip to content
Snippets Groups Projects
Commit 530f598f authored by Patrick Godwin's avatar Patrick Godwin Committed by ChiWai Chan
Browse files

lloidhandler.py: fix indentation issue from rebase

parent f852a74b
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !114. Comments created here will be created in the context of that merge request.
......@@ -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