Skip to content

Commit

Permalink
Do not affect non iterative values to iterative parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc committed Nov 28, 2024
1 parent 640f03b commit f70e7f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions capsul/attributes/completion_engine_iteration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f70e7f1

Please sign in to comment.