Skip to content
Snippets Groups Projects
Commit f5f49656 authored by Rebecca Ewing's avatar Rebecca Ewing Committed by Rebecca Ewing
Browse files

gstlal-ugly/bin/gstlal_ll_dq: fix assertion error when theres no range history data

parent 59e2ff87
No related branches found
No related tags found
1 merge request!435gstlal-ugly/bin/gstlal_ll_dq: fix assertion error when theres no range history data
......@@ -116,11 +116,12 @@ class NoiseTracker(object):
### store and reduce noise / range history
for route in self.routes:
if self.injections:
measurement = f"inj_{route}"
else:
measurement = route
agg_sink.store_columns(measurement, data[route], aggregate="max")
if self.datadeq[route]:
if self.injections:
measurement = f"inj_{route}"
else:
measurement = route
agg_sink.store_columns(measurement, data[route], aggregate="max")
### output "latest" psd to kafka
if self.client and self.psd:
......
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