Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Workflow checking for task outputs that have not been generated (FastSurfer task raises error at completion) #282

Closed
arkiev opened this issue Mar 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working pipelines

Comments

@arkiev
Copy link

arkiev commented Mar 10, 2024

Description

Completion of FastSurfer task is followed by a ValueError (Cannot retrieve value for out_file from SGMfix_task as the node errored). SGMfix_task takes place after FastSurfer_task (and is not a predecessor) although it looks like core.py (line 1444 # checking if the tasks has predecessors that raises error) is looking for outputs that have not been generated.

Expected behaviour

FastSurfer to finish running and feed straight into subsequent tasks.

Screenshots

Exception has occurred: ValueError
Tasks ['FastSurfer_task'] raised an error
  File "/Users/arkievdsouza/git/pydra/pydra/engine/core.py", line 1440, in _collect_outputs
    val_out = val.get_value(self)
              ^^^^^^^^^^^^^^^^^^^
  File "/Users/arkievdsouza/git/pydra/pydra/engine/specs.py", line 1031, in get_value
    value = get_nested_results(result, depth=split_depth)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arkievdsouza/git/pydra/pydra/engine/specs.py", line 1021, in get_nested_results
    raise ValueError(
ValueError: Cannot retrieve value for out_file from SGMfix_task as the node errored

During handling of the above exception, another exception occurred:

  File "/Users/arkievdsouza/git/pydra/pydra/engine/core.py", line 1446, in _collect_outputs
    raise ValueError(
  File "/Users/arkievdsouza/git/pydra/pydra/engine/core.py", line 1311, in _run
    result.output = self._collect_outputs()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arkievdsouza/git/pydra/pydra/engine/submitter.py", line 84, in submit_from_call
    await runnable._run(self, rerun=rerun)
  File "/Users/arkievdsouza/git/pydra/pydra/engine/submitter.py", line 55, in __call__
    self.loop.run_until_complete(
  File "/Users/arkievdsouza/git/pydra/pydra/engine/core.py", line 461, in __call__
    res = sub(self, environment=environment)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arkievdsouza/git/t1-pipeline/T1_ProcessingPipeline_v1.py", line 347, in <module>
    result = wf(
             ^^^
ValueError: Tasks ['FastSurfer_task'] raised an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pipelines
Projects
Status: Done
Development

No branches or pull requests

2 participants