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

Eddy_openmp #110

Open
kavandeloo opened this issue Nov 1, 2023 · 3 comments
Open

Eddy_openmp #110

kavandeloo opened this issue Nov 1, 2023 · 3 comments

Comments

@kavandeloo
Copy link

Hi there,

I get an error when trying to run fsl_topup_epi_eddy. I am using Python 3.10, and have FSL v6.0.4. I see that eddy_openmp is not located in fsl/usr/bin; it seems that it is no longer present in newer versions of FSL. Is there a work around? We are using a Macbook. The error is below as well.

Thanks!


(pnlpipe3) phillipslab@Phillipss-MacBook-Pro test % fsl_topup_epi_eddy --imain sub-TRD027_ses-01_desc-Xc_dwi.nii.gz,sub-TRD027_ses-01_desc-Xc_dwi_PA.nii.gz --bvals sub-TRD027_ses-01_desc-Xc_dwi.bval --bvecs sub-TRD027_ses-01_desc-Xc_dwi.bvec --numb0 -1 --whichVol 1,2 --acqp acqp.txt --config eddy_config.txt --out ./fsltopupeddy

Traceback (most recent call last):

File "/Users/phillipslab/pnlNipype/exec/fsl_topup_epi_eddy", line 572, in

TopupEddyEpi.run()

File "/Users/phillipslab/fsl/lib/python3.10/site-packages/plumbum/cli/application.py", line 633, in run

retcode = inst.main(*tailargs)

File "/Users/phillipslab/pnlNipype/exec/fsl_topup_epi_eddy", line 131, in main

from plumbum.cmd import eddy_openmp

ImportError: cannot import name 'eddy_openmp' from 'plumbum.cmd' (/Users/phillipslab/fsl/lib/python3.10/site-packages/plumbum/cmd.py)

(pnlpipe3) phillipslab@Phillipss-MacBook-Pro test % export PATH=//Users/phillipslab/fsl/bin/eddy_openmp:$PATH

(pnlpipe3) phillipslab@Phillipss-MacBook-Pro test % fsl_topup_epi_eddy --imain sub-TRD027_ses-01_desc-Xc_dwi.nii.gz,sub-TRD027_ses-01_desc-Xc_dwi_PA.nii.gz --bvals sub-TRD027_ses-01_desc-Xc_dwi.bval --bvecs sub-TRD027_ses-01_desc-Xc_dwi.bvec --numb0 -1 --whichVol 1,2 --acqp acqp.txt --config eddy_config.txt --out ./fsltopupeddy

Traceback (most recent call last):

File "/Users/phillipslab/pnlNipype/exec/fsl_topup_epi_eddy", line 572, in

TopupEddyEpi.run()

File "/Users/phillipslab/fsl/lib/python3.10/site-packages/plumbum/cli/application.py", line 633, in run

retcode = inst.main(*tailargs)

File "/Users/phillipslab/pnlNipype/exec/fsl_topup_epi_eddy", line 131, in main

from plumbum.cmd import eddy_openmp

ImportError: cannot import name 'eddy_openmp' from 'plumbum.cmd' (/Users/phillipslab/fsl/lib/python3.10/site-packages/plumbum/cmd.py)

@tashrifbillah
Copy link
Collaborator

I see that eddy_openmp is not located in fsl/usr/bin; it seems that it is no longer present in newer versions of FSL

Katie, this cannot be right. Locate the actual binary directory and do ls eddy_*. You will see all eddy commands there. Our binary directory is where_you_installed_fsl/bin/ on 6.0.6--which is more advanced than yours. There is no usr/ in between.

@kavandeloo97
Copy link

kavandeloo97 commented Feb 17, 2024

Hi Tashrif, I think that eddy_openmp is replaced by eddy_cpu in FSL 6.0 or later.

Washington-University/HCPpipelines#264

@tashrifbillah
Copy link
Collaborator

Thanks for letting us know, Katie.

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

3 participants