Commit 5eb7fec8 authored by Eteri's avatar Eteri Committed by Levin Zimmermann

Pass causality_reference and reference to Data Operation script.

parent c9b14414
......@@ -29,10 +29,11 @@ for analysis_line in context.objectValues(portal_type="Data Analysis Line"):
parameter[base_category] = analysis_line.getVariationCategoryItemList(
base_category_list=(base_category,))[0][0]
reference = analysis_line.getReference()
parameter["Start Date"] = analysis_line.getStartDate()
parameter["Stop Date"] = analysis_line.getStopDate()
parameter["Id"] = analysis_line.getId()
parameter["causality_reference"] = analysis_line.getCausalityReference()
parameter["reference"] = analysis_line.getReference()
# several lines with same reference wil turn the parameter into a list
if reference in parameter_dict:
if not isinstance(parameter_dict[reference], list):
......
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