You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing a white matter segmentation with the 'wmseg' input to a Node using the EpiReg interface raises the following Error:
TraitError: The 'seg' trait of an EpiRegOutputSpec instance must be a pathlike object or string representing an existing file but a value of "/Users/olivercontier/bigfri/scratch/preproc_bbr_workdir/sub-01/sub_wf/ses_wf/_ses_i_0/bbr/epi2struct_fast_seg.nii.gz" <class 'str'> was specified.
Expected behavior
FSL's epi_reg script does not perform segmentation when a white matter segmented file is already provided. Hence, the interface should not check whether the 'seg' output exists in that case.
I think this should be fixable by changing the behavior of _list_outputs() method of the EpiReg class.
How to replicate the behavior
I tried to provide more details in my post on neurostars.
Summary
Actual behavior
Passing a white matter segmentation with the 'wmseg' input to a Node using the EpiReg interface raises the following Error:
TraitError: The 'seg' trait of an EpiRegOutputSpec instance must be a pathlike object or string representing an existing file but a value of "/Users/olivercontier/bigfri/scratch/preproc_bbr_workdir/sub-01/sub_wf/ses_wf/_ses_i_0/bbr/epi2struct_fast_seg.nii.gz" <class 'str'> was specified.
Expected behavior
FSL's epi_reg script does not perform segmentation when a white matter segmented file is already provided. Hence, the interface should not check whether the 'seg' output exists in that case.
I think this should be fixable by changing the behavior of _list_outputs() method of the EpiReg class.
How to replicate the behavior
I tried to provide more details in my post on neurostars.
Platform details:
Execution environment
My python environment outside container
The text was updated successfully, but these errors were encountered: