Skip to content
Snippets Groups Projects
Commit df560400 authored by Cain, Payton David's avatar Cain, Payton David
Browse files

Simplify if statement in controller

parent fd3a5322
No related branches found
Tags 1.1.3
2 merge requests!146Release CMO metadata to production,!40Update controller for new filter products
......@@ -187,7 +187,7 @@ class Controller(object):
)
processed = algorithm.process(timeseries)
# trim if --no-trim is not set
if options.output_interval not in [None, "tenhertz", "second", "minute"]:
if options.output_interval in ["hour", "day"]:
starttime = processed[0].stats.starttime
endtime = processed[0].stats.endtime
if not options.no_trim:
......
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