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

FUGUE error (no attribute 'FUGUEvsm2ANTSwarp') #789

Closed
jhauneuro opened this issue Jul 23, 2024 · 3 comments
Closed

FUGUE error (no attribute 'FUGUEvsm2ANTSwarp') #789

jhauneuro opened this issue Jul 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jhauneuro
Copy link

jhauneuro commented Jul 23, 2024

Summary

This issue (#752) was reported previously and closed but I am still getting an error when I run the latest qsiprep on dwi data using gradient echo field maps (2 phases):

Traceback (most recent call last):
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/cli/run.py", line 1091, in build_qsiprep_workflow
    retval["workflow"] = init_qsiprep_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/base.py", line 237, in init_qsiprep_wf
    single_subject_wf = init_single_subject_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/base.py", line 748, in init_single_subject_wf
    dwi_preproc_wf = init_dwi_preproc_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/dwi/base.py", line 406, in init_dwi_preproc_wf
    hmc_wf = init_fsl_hmc_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/dwi/fsl.py", line 422, in init_fsl_hmc_wf
    b0_sdc_wf = init_sdc_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/fieldmap/base.py", line 244, in init_sdc_wf
    sdc_unwarp_wf = init_sdc_unwarp_wf(
  File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/fieldmap/unwarp.py", line 180, in init_sdc_unwarp_wf
    vsm2dfm = pe.Node(itk.FUGUEvsm2ANTSwarp(), name="vsm2dfm")
AttributeError: module 'niworkflows.interfaces.itk' has no attribute 'FUGUEvsm2ANTSwarp'

Additional details

  • QSIPrep version: 0.22.0
  • Docker version: 25.0.4

What were you trying to do?

Preprocess dwi data using the gradient echo field map distortion correction method.

What did you expect to happen?

Completely successfully and output corrected dwi data.

What actually happened?

Got an error (see above).

Reproducing the bug

The command I ran:

docker run --rm -ti -v /usr/local/freesurfer/7.4.1/license.txt:/opt/freesurfer/license.txt:ro -v $bids_dir:/data:ro -v $out_dir:/out -v $out_dir:/scratch pennbbl/qsiprep:latest /data /out participant --output-resolution $res --bids-database-dir $bids_dir -w /scratch --participant_label $subj_id
@jhauneuro jhauneuro added the bug Something isn't working label Jul 23, 2024
@mattcieslak
Copy link
Collaborator

@tsalo are the gre fieldmap CI tests missing this? I thought we added them

@tsalo
Copy link
Member

tsalo commented Aug 1, 2024

That import is what was changed in #769. @jhauneuro are you 100% sure you are using QSIPrep 0.22.0?

@jhauneuro
Copy link
Author

@taslo, @mattcieslak I realized I had both pennbbl/qsiprep:latest and qsiprep:latest and mixed them up. I just tested on 0.22.0 and it completed successfully. Sorry about the confusion. Thank you!

@tsalo tsalo closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2024
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

No branches or pull requests

3 participants