Skip to content

Error in Mrtrix3's DWIPreproc #3595

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

Closed
GalKepler opened this issue Jul 31, 2023 · 0 comments · Fixed by #3596
Closed

Error in Mrtrix3's DWIPreproc #3595

GalKepler opened this issue Jul 31, 2023 · 0 comments · Fixed by #3596

Comments

@GalKepler
Copy link
Contributor

Summary

The _list_outputs method of DWIPreproc tries to set up an input called "export_grad_mrtrix", which should be "out_grad_mrtrix", causing it to fail.

Actual behavior

AttributeError: 'DWIPreprocInputSpec' object has no attribute 'export_grad_mrtrix'

Expected behavior

No AttributeError raising when running DWIPreproc...

How to replicate the behavior

from nipype.interfaces import mrtrix3 as mrt

dwipreproc = mrt.DWIPreproc(rpe_options="pair", align_seepi=True,)
dwipreproc.inputs.pe_dir = "j-"
dwipreproc.inputs.in_epi = "path_to_epi"
dwipreproc.inputs.dwi_file = "path_to_dwi"
dwipreproc.run()

Platform details:

{'commit_hash': 'c31d206',
 'commit_source': 'repository',
 'networkx_version': '2.8.4',
 'nibabel_version': '4.0.1',
 'nipype_version': '1.8.6',
 'numpy_version': '1.23.0',
 'pkg_path': '/home/zvi/Projects/connectome_plasticity/venv/lib/python3.9/site-packages/nipype',
 'scipy_version': '1.8.1',
 'sys_executable': '/home/zvi/Projects/connectome_plasticity/venv/bin/python',
 'sys_platform': 'linux',
 'sys_version': '3.9.14 (main, Sep  7 2022, 23:43:29) \n[GCC 9.4.0]',
 'traits_version': '6.3.2'}

Execution environment

  • My python environment outside container
@GalKepler GalKepler changed the title Error to Mrtrix3's DWIPreproc Error in Mrtrix3's DWIPreproc Jul 31, 2023
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

Successfully merging a pull request may close this issue.

1 participant