Skip to content

Failure on MRTrix2TrackVis with nipype 0.13 but not the older 0.12 #1802

Closed
@dorianps

Description

@dorianps

Summary

The same code fails if I use the developer version of nipype 0.13 but works with the older release 0.12.
Sorry for not giving too much details, it's my first time using nipype and I did not keep track of everything (who would have thought that it was the nipype version).

Actual behavior

The ".trk" file produce with the new version is 1kb with nothing in it. It loads in TrackVis but has not streamlines to show.

Expected behavior

The ".trk" file should be dependent on the number of streamlines, and larger than 1kb. It should also be loadable in TrackVis.

How to replicate the behavior

tck2trk = mrt.MRTrix2TrackVis()
tck2trk.inputs.in_file = 'temp.tck'
tck2trk.inputs.image_file = 'meanb0.nii.gz'
tck2trk.inputs.out_filename = 'temp.trk'
tck2trk.run()

Platform details:

please paste the output of: python -c "import nipype; print(nipype.get_info())"
This is what's working well.
{'nibabel_version': '2.1.0', 'networkx_version': '1.11', 'numpy_version': '1.12.0', 'sys_platform': 'linux2', 'sys_version': '2.7.13 |Anaconda 4.3.0 (64-bit)| (default, Dec 20 2016, 23:09:15) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]', 'commit_source': 'installation', 'commit_hash': u'a4d1e07', 'pkg_path': '/data/jag/dpustina/engine/anaconda/lib/python2.7/site-packages/nipype', 'sys_executable': '/data/jag/dpustina/engine/anaconda/bin/python', 'traits_version': '4.6.0', 'scipy_version': '0.18.1'}

I am trying to upload a zip file to help you replicate the error but it's not allowing it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions