Skip to content

Commit

Permalink
Fix build_workflow calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 12, 2024
1 parent 901a060 commit 5f61db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qsirecon/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def main():
if "pdb" not in config.execution.debug:
with Manager() as mgr:
retval = mgr.dict()
p = Process(target=build_workflow, args=(str(config_file), "auto", retval))
p = Process(target=build_workflow, args=(str(config_file), retval))
p.start()
p.join()
retval = dict(retval.items()) # Convert to base dictionary
Expand All @@ -77,7 +77,7 @@ def main():
retval["return_code"] = p.exitcode

else:
retval = build_workflow(str(config_file), "auto", {})
retval = build_workflow(str(config_file), {})

exitcode = retval.get("return_code", 0)
qsirecon_wf = retval.get("workflow", None)
Expand Down

0 comments on commit 5f61db9

Please sign in to comment.