严老师您好!
向您请教一个问题,我用运行着docker的windows 10专业版系统,用基于matlab的dpabi,用网站上下载的练习dpabisurf的demo数据,按照dpabisurf的默认设置运算,跑了几次,都是出同样的问题:尽管matlab的窗口显示在忙,但工作文件的大小超过24小时没有变化,检查fmriprep/sub-Sub001/log文件下的crash,内容如下(试跑了几次,报的都是这个内容):
Node: fmriprep_wf.single_subject_Sub001_wf.func_preproc_task_rest_wf.bold_std_trans_wf.aparc_std_tfm
Working directory: /data/fmriprepwork/sub-Sub001/fmriprep_wf/single_subject_Sub001_wf/func_preproc_task_rest_wf/bold_std_trans_wf/_std_target_MNI152NLin2009cAsym.res2/aparc_std_tfm
Node inputs:
args = <undefined>
default_value = 0.0
dimension = <undefined>
environ = {'NSLOTS': '1'}
float = False
input_image = <undefined>
input_image_type = <undefined>
interpolation = MultiLabel
interpolation_parameters = <undefined>
invert_transform_flags = <undefined>
num_threads = 1
out_postfix = _trans
output_image = <undefined>
print_out_composite_warp_file = <undefined>
reference_image = <undefined>
transforms = <undefined>
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
result["result"] = node.run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command
result = self._interface.run(cwd=outdir)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 419, in run
runtime = self._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/fixes.py", line 47, in _run_interface
os.path.abspath(self._gen_filename("output_image")),
File "/usr/local/miniconda/lib/python3.7/posixpath.py", line 376, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
跑了几次,这个crash文件的内容都是如上。请问这个问题如何解决?谢谢!
Forums
这个报错好像是在windows上运行docker偶尔会出现
这个报错好像是在windows上运行docker偶尔会出现的错误。原因未知。如果总是出现,建议在linux下跑DPABISurf预处理。