Skip to content
Snippets Groups Projects
Commit 838c0c0d authored by Eddie McWhirter's avatar Eddie McWhirter
Browse files

Don't trim if --no-trim is set.

parent edbde4e2
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,9 @@ class Controller(object):
timeseries=timeseries,
renames=options.rename_input_channel)
processed = algorithm.process(timeseries)
processed.trim(starttime=options.starttime, endtime=options.endtime)
# trim if --no-trim is not set
if not options.trim:
processed.trim(starttime=options.starttime, endtime=options.endtime)
if options.rename_output_channel:
processed = self._rename_channels(
timeseries=processed,
......
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