Skip to content
Snippets Groups Projects
Commit 3467503d authored by Shavers, Nicholas H's avatar Shavers, Nicholas H
Browse files

skip writing timeseries if channel not in request channels

parent 1feab71a
No related branches found
No related tags found
1 merge request!378Covjson mvp
......@@ -249,6 +249,8 @@ class CovJSONFactory(TimeseriesFactory):
for trace in timeseries:
ch_name = trace.stats.channel
if channels and ch_name not in channels:
continue
element_info = ELEMENT_INDEX.get(ch_name)
if element_info:
param_description = element_info.name
......
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