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

No pe volumes generated by FSL Estimate #3706

Open
adamjbarnas opened this issue Dec 19, 2024 · 0 comments
Open

No pe volumes generated by FSL Estimate #3706

adamjbarnas opened this issue Dec 19, 2024 · 0 comments

Comments

@adamjbarnas
Copy link

Hello - My level 1 and level 3 scripts were working without error, but now I get the following error in my level 3 script:

RuntimeError                              Traceback (most recent call last)
Cell In[3], line 36
     29 level3.config = {
     30     "execution": {
     31         "crashdump_dir": crashdumps_dir
     32     }
     33 }
     35 level3.write_graph("workflow_graph.dot")
---> 36 level3.run(plugin='MultiProc', plugin_args={'n_procs':n_procs})

File /apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/workflows.py:638, in Workflow.run(self, plugin, plugin_args, updatehash)
    636 if str2bool(self.config["execution"]["create_report"]):
    637     self._write_report_info(self.base_dir, self.name, execgraph)
--> 638 runner.run(execgraph, updatehash=updatehash, config=self.config)
    639 datestr = datetime.utcnow().strftime("%Y%m%dT%H%M%S")
    640 if str2bool(self.config["execution"]["write_provenance"]):

File /apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/plugins/base.py:212, in DistributedPluginBase.run(self, graph, config, updatehash)
    206 if len(errors) > 1:
    207     error, cause = (
    208         RuntimeError(f"{len(errors)} raised. Re-raising first."),
    209         error,
    210     )
--> 212 raise error from cause

RuntimeError: Traceback (most recent call last):
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 524, in run
    result = self._run_interface(execute=True)
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 1361, in _run_interface
    result = self._collate_results(
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 1274, in _collate_results
    raise NodeExecutionError(
nipype.pipeline.engine.nodes.NodeExecutionError: Subnodes of node: flameo failed:
Subnode 0 failed
Error: Traceback (most recent call last):
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 401, in run
    outputs = self.aggregate_outputs(runtime)
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 430, in aggregate_outputs
    predicted_outputs = self._list_outputs()  # Predictions from _list_outputs
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/fsl/model.py", line 1149, in _list_outputs
    assert len(pes) >= 1, "No pe volumes generated by FSL Estimate"
AssertionError: No pe volumes generated by FSL Estimate

Traceback (most recent call last):

  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/utils.py", line 94, in nodelist_runner
    result = node.run(updatehash=updatehash)

  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 524, in run
    result = self._run_interface(execute=True)

  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 642, in _run_interface
    return self._run_command(execute)

  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 750, in _run_command
    raise NodeExecutionError(

nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node _flameo0.

Traceback (most recent call last):
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 401, in run
    outputs = self.aggregate_outputs(runtime)
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/base/core.py", line 430, in aggregate_outputs
    predicted_outputs = self._list_outputs()  # Predictions from _list_outputs
  File "/apps/python/3.10/lib/python3.10/site-packages/nipype/interfaces/fsl/model.py", line 1149, in _list_outputs
    assert len(pes) >= 1, "No pe volumes generated by FSL Estimate"
AssertionError: No pe volumes generated by FSL Estimate

Any help will be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant