New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fmriprep trying to create folder that ends with a dot in its name in Windows? #2046
Comments
This looks similar to #1944, what is the command you're using? Windows may require you to be more explicit with your output spaces. |
I see. Yes, indeed I was using the default output space. I'll try explicit specification and see if that resolves the issue. |
So, specifying the output space explicitly helped get over that particular error. This is the command I used: But this time, I got a different error (maybe a related error) a bit farther down the road: Node: fmriprep_wf.single_subject_02_wf.func_preproc_task_faceplace_run_1_wf.bold_reg_wf.fsl_bbr_wf.flt_bbr_init Node inputs: angle_rep = Traceback (most recent call last): |
Hi! I'm running the following command (fmriprep 21.0.2): Previously i successfully computed standard outputs (i.e. standard MNI152NLin2009cAsym) where i did not specify any output spaces. The same error persists when using the latest version of fmriprep.
The folder being tried to access "_std_target_MNI152NLin2009cAsym." does not exist, only a version without the "." at the end. This directory in turn is empty so no files were stored here / can be accessed. |
@hippocampeli What about using |
hey, thanks for your reply. it didn't throw an error.. "fmriprep started successfully.. ". However, using --output-spaces doesn't change anything - same result. |
Okay. The easiest thing to do will just be to add |
Hi! I am running fmriPrep version 20.0.5
and I just began using it for a test run on a BIDS validated dataset.
However, right after the automatically generated boilerplate message, I get several of the following errors (attached at the end).
I checked my work directory and the folder is there, it just doesn't have the dot at the end of the name. i.e., there is a folder for
/scratch/fmriprep_wf/single_subject_01_wf/func_preproc_task_faceplace_run_1_wf/bold_std_trans_wf/_std_target_MNI152NLin2009cAsym
but fmriprep is trying to search for a one with a dot at the end, which cannot be created in windows.
Any help please?
200321-03:36:03,119 nipype.workflow ERROR:
Node select_tpl.a0 failed to run on host df005cc66f24.
200321-03:36:03,127 nipype.workflow ERROR:
Saving crash info to /out/fmriprep/sub-01/log/20200321-033522_2ca6d4d0-5af9-41b4-ab04-daec6f3f9c76/crash-20200321-033603-root-select_tpl.a0-1735d110-e35e-4f4e-b31b-b2e4f8379f09.txt
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 507, in run
os.makedirs(outdir, exist_ok=True)
File "/usr/local/miniconda/lib/python3.7/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/miniconda/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fmriprep_wf/single_subject_01_wf/func_preproc_task_faceplace_run_1_wf/bold_std_trans_wf/_std_target_MNI152NLin2009cAsym.'
When creating this crashfile, the results file corresponding
to the node could not be found.
200321-03:36:03,252 nipype.workflow ERROR:
Node split_target.a0 failed to run on host df005cc66f24.
200321-03:36:03,254 nipype.workflow ERROR:
Saving crash info to /out/fmriprep/sub-01/log/20200321-033522_2ca6d4d0-5af9-41b4-ab04-daec6f3f9c76/crash-20200321-033603-root-split_target.a0-599129f2-8891-48ce-97c2-deb3a7001f48.txt
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 507, in run
os.makedirs(outdir, exist_ok=True)
File "/usr/local/miniconda/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fmriprep_wf/single_subject_01_wf/func_preproc_task_faceplace_run_1_wf/bold_std_trans_wf/_std_target_MNI152NLin2009cAsym./split_target'
The text was updated successfully, but these errors were encountered: