Commit 4eeb2f58 authored by Eteri's avatar Eteri

pass causality_relative_url to operation script to support multiple intervals...

pass causality_relative_url to operation script to support multiple intervals with same sensor at same location
parent ed7e2e21
...@@ -33,6 +33,7 @@ for analysis_line in context.objectValues(portal_type="Data Analysis Line"): ...@@ -33,6 +33,7 @@ for analysis_line in context.objectValues(portal_type="Data Analysis Line"):
parameter["Start Date"] = analysis_line.getStartDate() parameter["Start Date"] = analysis_line.getStartDate()
parameter["Stop Date"] = analysis_line.getStopDate() parameter["Stop Date"] = analysis_line.getStopDate()
parameter["causality_reference"] = analysis_line.getCausalityReference() parameter["causality_reference"] = analysis_line.getCausalityReference()
parameter["causality_relative_url"] = analysis_line.getCausality()
parameter["reference"] = analysis_line.getReference() parameter["reference"] = analysis_line.getReference()
# several lines with same reference wil turn the parameter into a list # several lines with same reference wil turn the parameter into a list
if reference in parameter_dict: if reference in parameter_dict:
......
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