Skip to content

FSL 6.0 mcflirt mean_reg.nii.gz naming error? #2925

Closed
@iamdamion

Description

@iamdamion

Summary

Mcflirt node crashed workflow with the following error:

TraitError: The trait 'mean_img' of a MCFLIRTOutputSpec instance is an existing file name, but the path '/NIPYPE_TEST_DATA/Preproc/mcflirt/22_corrected_mcf.nii.gz_mean_reg.nii.gz' does not exist.

The path is fine, the file name is wrong. The correct file name is 22_corrected_mcf_mean_reg.nii.gz without the extra nii.gz at the end.

If I run the command.txt command in the terminal, it works fine. The only help I found online was someone that said it was fixed by installing FSL 5, so they assumed it was looking for how older versions of FSL named the file. The issue is the extra nii.gz, but not sure where it comes from.

Platform details:

{'commit_hash': '%h',
 'commit_source': 'archive substitution',
 'networkx_version': '2.2',
 'nibabel_version': '2.4.0',
 'nipype_version': '1.1.9',
 'numpy_version': '1.16.2',
 'pkg_path': '/Users/dvd296/miniconda2/envs/fmri/lib/python2.7/site-packages/nipype',
 'scipy_version': '1.2.1',
 'sys_executable': '/Users/dvd296/miniconda2/envs/fmri/bin/python',
 'sys_platform': 'darwin',
 'sys_version': '2.7.15 | packaged by conda-forge | (default, Feb 27 2019, 20:44:16) \n[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]',
 'traits_version': '5.0.0'}

Execution environment

Choose one

  • My python environment outside container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions