Skip to content
Snippets Groups Projects
Commit dd7b74e8 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler
Browse files

Fix Controller.run bug when no input is available

parent 8f93bd17
No related branches found
No related tags found
1 merge request!399Clean up to support and/or match geomagio scripts
......@@ -290,7 +290,7 @@ class Controller(object):
channels=input_channels,
interval=input_interval,
)
if not algorithm.can_produce_data(
if not timeseries or not algorithm.can_produce_data(
starttime=timeseries[0].stats.starttime,
endtime=timeseries[0].stats.endtime,
stream=timeseries,
......
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