From f70e7f158e61ec00234b6fe5d39caa688fa2a45a Mon Sep 17 00:00:00 2001 From: sapetnioc Date: Thu, 28 Nov 2024 13:20:29 +0100 Subject: [PATCH] Do not affect non iterative values to iterative parameters --- capsul/attributes/completion_engine_iteration.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capsul/attributes/completion_engine_iteration.py b/capsul/attributes/completion_engine_iteration.py index fb235dcb3..d40d977ae 100644 --- a/capsul/attributes/completion_engine_iteration.py +++ b/capsul/attributes/completion_engine_iteration.py @@ -254,6 +254,8 @@ def complete_parameters(self, process_inputs={}, print('assign iteration parameter', parameter, ':\n', e, file=sys.stderr) for parameter in parameters: + if parameter in iterative_parameters: + continue try: value = getattr(process.process, parameter) setattr(process, parameter, value)