Node: fmriprep_wf.single_subject_01_wf.anat_preproc_wf.anat_reports_wf.t1w_conform_check
Working directory: /work/fmriprep_wf/single_subject_01_wf/anat_preproc_wf/anat_reports_wf/t1w_conform_check
Node inputs:
function_str = def _empty_report(in_file=None):
from pathlib import Path
from nipype.interfaces.base import isdefined
if in_file is not None and isdefined(in_file):
return in_file
out_file = Path("tmp-report.html").absolute()
out_file.write_text(
"""\
A previously computed T1w template was provided.
"""
)
return str(out_file)
in_file =
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 443, in run
cached, updated = self.is_cached()
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 332, in is_cached
hashed_inputs, hashvalue = self._get_hashval()
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 538, in _get_hashval
self._get_inputs()
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 580, in _get_inputs
outputs = _load_resultfile(results_fname).outputs
File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/utils.py", line 293, in load_resultfile
result = loadpkl(results_file)
File "/opt/conda/lib/python3.8/site-packages/nipype/utils/filemanip.py", line 666, in loadpkl
raise e
File "/opt/conda/lib/python3.8/site-packages/nipype/utils/filemanip.py", line 643, in loadpkl
unpkl = pickle.loads(pkl_contents)
File "/opt/conda/lib/python3.8/site-packages/traits/has_traits.py", line 1341, in __setstate__
self.trait_set(trait_change_notify=trait_change_notify, **state)
File "/opt/conda/lib/python3.8/site-packages/traits/has_traits.py", line 1434, in trait_set
setattr(self, name, value)
File "/opt/conda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 330, in validate
value = super(File, self).validate(objekt, name, value, return_pathlike=True)
File "/opt/conda/lib/python3.8/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/opt/conda/lib/python3.8/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'out_report' trait of a _TemplateDimensionsOutputSpec instance must be a pathlike object or string representing an existing file, but a value of '/scratch/fmriprep_wf/single_subject_01_wf/anat_preproc_wf/anat_template_wf/t1w_ref_dimensions/report.html' was specified.