From ebc836527991bedbd6948bb0c6a3fb6821c70715 Mon Sep 17 00:00:00 2001 From: pcain-usgs <pcain@usgs.gov> Date: Fri, 23 Oct 2020 14:28:43 -0600 Subject: [PATCH] Move trim comment --- geomagio/Controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geomagio/Controller.py b/geomagio/Controller.py index b6d768b3..b1d4302f 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -186,10 +186,10 @@ class Controller(object): timeseries=timeseries, renames=options.rename_input_channel ) processed = algorithm.process(timeseries) - # trim if --no-trim is not set if options.output_interval in ["hour", "day"]: starttime = processed[0].stats.starttime endtime = processed[0].stats.endtime + # trim if --no-trim is not set if not options.no_trim: processed.trim(starttime=starttime, endtime=endtime) if options.rename_output_channel: -- GitLab