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

PETLinear crashes when using the --save_pet_in_t1w_space option #1401

Closed
NicolasGensollen opened this issue Dec 3, 2024 · 0 comments · Fixed by #1402
Closed

PETLinear crashes when using the --save_pet_in_t1w_space option #1401

NicolasGensollen opened this issue Dec 3, 2024 · 0 comments · Fixed by #1402
Assignees
Labels
bug Something isn't working

Comments

@NicolasGensollen
Copy link
Member

Running the pet-linear pipeline with the --save_pet_in_t1w_space option results in the following error on dev:

$ clinica run pet-linear ./bids/ ./caps 18FFDG pons -tsv subjects.tsv --save_pet_in_t1w_space
...
Traceback (most recent call last):
  File "/builds/miniconda/envs/clinica/lib/python3.11/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builds/miniconda/envs/clinica/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 497, in run
    self._get_hashval()
  File "/builds/miniconda/envs/clinica/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 548, in _get_hashval
    self._get_inputs()
  File "/builds/miniconda/envs/clinica/lib/python3.11/site-packages/nipype/pipeline/engine/nodes.py", line 613, in _get_inputs
    output_value = outputs.trait_get()[output_name]
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 't1w'

I believe this is due to the recent merge of #1355 where the connection with the clipping node isn't made properly in this specific case.
Will look into it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant