Skip to content

Commit

Permalink
Update the call to params()
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Borreguero <[email protected]>
  • Loading branch information
jmborr committed Jun 6, 2024
1 parent e5624b0 commit c96867f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imars3d/backend/workflow/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _instrospect_task_function(self, function_str: str) -> namedtuple:
# depending on the value of other parameters. Methods `dryrun()` assume that
# parameters are independent of each other
independent = False if function_name in ["load_data"] else True
outputs = dict(function=f, paramdict=f.params(), params_independent=independent)
outputs = dict(function=f, paramdict=f.param.params(), params_independent=independent)
return namedtuple("TaskFuncionInstrospection", outputs.keys())(**outputs)

def _resolve_inputs(self, task_inputs: dict, paramdict: dict) -> dict:
Expand Down

0 comments on commit c96867f

Please sign in to comment.