@tsalo, Yes, it worked. Thank you so much for helping me to fix these issues.
I was able finish FreeSurfer preprocessing. However, I am getting new error for all the sessions/func-runs. I am only pasting ses-1_task-RSFC_run-1 error,
Node Name: fmriprep_wf.single_subject_50010_wf.func_preproc_ses_1_task_RSFC_run_1_wf.sdc_estimate_wf.phdiff_wf.phmap2rads
File: /mnt/fMRIprep/scR21_outputs_B0/fmriprep/sub-50010/log/20200704-005807_29d61ea4-0206-4416-a055-4c80773b3969/crash-20200704-010743-sameera-phmap2rads-f8ac2ff0-ee7f-4dcf-8dbb-c7ecb722e764.txt
Working Directory: /mnt/fMRIprep/scR21_outputs_B0/derivatives/scratch/fmriprep_wf/single_subject_50010_wf/func_preproc_ses_1_task_RSFC_run_1_wf/sdc_estimate_wf/phdiff_wf/phmap2rads
Inputs:
in_file:
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py”, line 292, in _send_procs_to_workers
num_subnodes = self.procs[jobid].num_subnodes()
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 1309, in num_subnodes
self._get_inputs()
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 1323, in _get_inputs
super(MapNode, self)._get_inputs()
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 609, in _get_inputs
self.set_input(key, deepcopy(output_value))
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 1158, in set_input
self._set_mapnode_input(parameter, deepcopy(val))
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 1165, in _set_mapnode_input
setattr(self._inputs, name, newvalue)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/traits_extension.py”, line 426, in validate
value = super(MultiObject, self).validate(objekt, name, newvalue)
File “/usr/local/miniconda/lib/python3.7/site-packages/traits/trait_types.py”, line 2336, in validate
return TraitListObject( self, object, name, value )
File “/usr/local/miniconda/lib/python3.7/site-packages/traits/trait_handlers.py”, line 2313, in init
raise excp
File “/usr/local/miniconda/lib/python3.7/site-packages/traits/trait_handlers.py”, line 2305, in init
value = [ validate( object, name, val ) for val in value ]
File “/usr/local/miniconda/lib/python3.7/site-packages/traits/trait_handlers.py”, line 2305, in
value = [ validate( object, name, val ) for val in value ]
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/traits_extension.py”, line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/traits_extension.py”, line 135, in validate
self.error(objekt, name, str(value))
File “/usr/local/miniconda/lib/python3.7/site-packages/traits/trait_handlers.py”, line 172, in error
value )
traits.trait_errors.TraitError: Each element of the ‘in_file’ trait of a DynamicTraitedSpec instance must be a pathlike object or string representing an existing file, but a value of ‘/mnt/fMRIprep/scR21_B0_fieldmaps/sub-50010/ses-1/fmap/sub-50010_ses-1_run-1_phase2.nii.gz’ was specified.
Error setting node input:
Node: phmap2rads
input: in_file
results_file: /mnt/fMRIprep/scR21_outputs_B0/derivatives/scratch/fmriprep_wf/single_subject_50010_wf/func_preproc_ses_1_task_RSFC_run_1_wf/sdc_estimate_wf/phdiff_wf/split/result_split.pklz
value: [’/mnt/fMRIprep/scR21_B0_fieldmaps/sub-50010/ses-1/fmap/sub-50010_ses-1_run-1_phase1.nii.gz’, ‘/mnt/jxvs02/fMRIprep/scR21_B0_fieldmaps/sub-50010/ses-1/fmap/sub-50010_ses-1_run-1_phase2.nii.gz’]
When creating this crashfile, the results file corresponding
to the node could not be found.
Can you please help me to fix this issue?
Thank you
Best Regards
Sameera