Commit e7bd43d5 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

move the merge method after the processed stream

parent f5078aa2
......@@ -228,6 +228,7 @@ def get_output(params):
return error_nodata(params, Error.RESPONSE)
st = get_processed_signal(st, params)
st.merge(method=1)
if params["format"] == "plot":
response = static_plots(params, st)
......
......@@ -161,6 +161,7 @@ def get_output(params):
return error_nodata(params, Error.RESPONSE)
st = get_processed_signal(st, params)
st.merge(method=1)
if params["iplot"]:
response = dynamic_plots(params, st)
......
......@@ -369,7 +369,6 @@ def get_signal_from_client(params):
end,
)
logging.debug("Transfer terminated.")
st.merge(method=1)
st.trim(start, end)
logging.debug("Trimming terminated.")
return st
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment