diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 8e8edad30bbfd9cee1a830f35af895d2c3aa0d8e..47292b9546e6cc404c01d5e533792d8a4adc4cdc 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -160,8 +160,9 @@ class Controller(object): renames=options.rename_input_channel) processed = algorithm.process(timeseries) # trim if --no-trim is not set - if not options.trim: - processed.trim(starttime=options.starttime, endtime=options.endtime) + if not options.no_trim: + processed.no_trim(starttime=options.starttime, + endtime=options.endtime) if options.rename_output_channel: processed = self._rename_channels( timeseries=processed,