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
2017-11-23 07:32:05,919:INFO: found SPM directory to be "/home/hcherkaoui/opt/spm8/spm8/spm8_mcr/spm8"
2017-11-23 07:32:05,919:INFO: using SPM version: 8
2017-11-23 07:32:05,919:INFO: setting SPM MCR path to "/home/hcherkaoui/opt/spm8/spm8.sh" and "use_mcr" to True
2017-11-23 07:32:05,919:INFO: SPM configuration succeeded using SPM MCR.
2017-11-23 07:32:06,029:INFO: found SPM directory to be "/home/hcherkaoui/opt/spm8/spm8/spm8_mcr/spm8"
2017-11-23 07:32:06,029:INFO: using SPM version: 8
2017-11-23 07:32:06,029:INFO: setting SPM MCR path to "/home/hcherkaoui/opt/spm8/spm8.sh" and "use_mcr" to True
2017-11-23 07:32:06,029:INFO: SPM configuration succeeded using SPM MCR.
/home/hcherkaoui/.local/lib/python2.7/site-packages/pypreprocess/conf_parser.py:371: UserWarning: subject .: No func images found for wildcard /home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii/./s005a1001_epi3p4mm.nii
" wildcard %s" % (subject_id, sess_func_wildcard)))
Using the following parameters for preprocessing:
normalize=False
coreg_anat_to_func=False
slice_timing_software=spm
output_modulated_tpms=True
func_write_voxel_sizes=[3.0, 3.0, 3.0]
anat_write_voxel_sizes=[1.0, 1.0, 1.0]
dataset_description= Claire resting state done on the PET-MR machine
in the SHFJ.
smooth_software=spm
realign_software=spm
register_to_mean=True
deleteorient=False
dataset_dir=/home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii
report=True
dataset_id=/home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii
realign_reslice=False
segment=True
coregister_software=spm
anat_fwhm=0.0
spm_dir=None
dartel=False
coregister_reslice=False
fwhm=[5.0, 5.0, 5.0]
newsegment=True
realign=True
coregister=True
slice_timing=False
caching=True
tsdiffana=True
matlab_exec=None
/home/hcherkaoui/.local/lib/python2.7/site-packages/pypreprocess/nipype_preproc_spm_utils.py:1575: UserWarning: There is only one subject. Disabling NewSegment.
warnings.warn("There is only one subject. Disabling NewSegment.")
[Memory] 0.0s, 0.0min: Loading niigz2nii from /home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii/pypreprocess_output/./cache_dir/joblib/pypreprocess/io_utils/niigz2nii/ae65cdb6bda6a312081494669386d261
___________________________________________niigz2nii cache loaded - 0.0s, 0.0min
Preproc report for subject . written to /home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii/pypreprocess_output/reports/report_preproc.html .
2017-11-23 07:32:07,708:INFO: found SPM directory to be "/home/hcherkaoui/opt/spm8/spm8/spm8_mcr/spm8"
2017-11-23 07:32:07,708:INFO: using SPM version: 8
2017-11-23 07:32:07,709:INFO: setting SPM MCR path to "/home/hcherkaoui/opt/spm8/spm8.sh" and "use_mcr" to True
2017-11-23 07:32:07,709:INFO: SPM configuration succeeded using SPM MCR.
Traceback (most recent call last):
File "nilearn_claire5_preproc_spm.py", line 16, in <module>
results = do_subjects_preproc(jobfile, dataset_dir=dataset_dir)[0]
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/pypreprocess/nipype_preproc_spm_utils.py", line 1722, in do_subjects_preproc
**preproc_params)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/pypreprocess/nipype_preproc_spm_utils.py", line 1411, in _do_subjects_newsegment
ignore_exception=True)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/nipype/caching/memory.py", line 73, in __call__
interface.inputs.set(**kwargs)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/traits/util/deprecated.py", line 32, in wrapper
return fn(*args, **kw)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/traits/has_traits.py", line 1552, in set
trait_change_notify=trait_change_notify, **traits)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/traits/has_traits.py", line 1544, in trait_set
setattr( self, name, value )
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/nipype/interfaces/base.py", line 2043, in validate
value = super(MultiPath, self).validate(object, name, newvalue)
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/traits/trait_types.py", line 2337, in validate
return TraitListObject( self, object, name, value )
File "/home/hcherkaoui/.local/lib/python2.7/site-packages/traits/trait_handlers.py", line 2313, in __init__
raise excp
traits.trait_errors.TraitError: /home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii/pypreprocess_output/T1.nii.gz is not included in allowed types: .hdr, .nii, .img```
note that ```/home/hcherkaoui/DATA/20161130_e00521_REGLAGE02_REGLAGE02/nii/pypreprocess_output/T1.nii``` exist and is a valid .nii
The text was updated successfully, but these errors were encountered:
hcherkaoui
changed the title
**newsegment = True** option in .ini failed in preprocess
newsegment = True option in .ini failed in preprocess
Nov 23, 2017
hcherkaoui
changed the title
newsegment = True option in .ini failed in preprocess
'newsegment = True' option in .ini make preprocess failed
Nov 23, 2017
Using newsegment = True in my .ini gave me:
The text was updated successfully, but these errors were encountered: