I have the output of fMRIPrep itself, but not the crash logs since fMRIPrep fails almost instantaneously and doesn’t/can’t write anything to the specified output directory. Still can’t upload files, so pardon the length reply. I also have output of docker inspect
if that would be helpful.
Output of tree (from WSL Ubuntu since I can’t do this in PowerShell for some reason?). Including this to demonstrate that this directory should be BIDS compliant, as it’s worked locally after all.
/y/tmp/docker_test/
├── README
├── code
│ └── fmriprep_batch.ps1
├── dataset_description.json
└── sub-R0230
├── anat
│ ├── sub-R0230_T1w.json
│ └── sub-R0230_T1w.nii
└── func
├── sub-R0230_task-VerbGeneration_bold.json
└── sub-R0230_task-VerbGeneration_bold.nii
4 directories, 7 files
Terminal output of fMRIPrep v20.2.3:
You are using fMRIPrep-20.2.3, and a newer version of fMRIPrep is available: 20.2.5.
Please check out our documentation about how and when to upgrade:
https://fmriprep.readthedocs.io/en/latest/faq.html#upgrading
bids-validator@1.4.0
e[31m1: [ERR] Quick validation failed - the general folder structure does not resemble a BIDS dataset. Have you chosen the right folder (with "sub-*/" subfolders)? Check for structural/naming issues and presence of at least one subject. (code: 61 - QUICK_VALIDATION_FAILED)e[39m
.data
e[36m Please visit https://neurostars.org/search?q=QUICK_VALIDATION_FAILED for existing conversations about this issue.e[39m
Traceback (most recent call last):
File "/usr/local/miniconda/bin/fmriprep", line 10, in <module>
sys.exit(main())
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/run.py", line 17, in main
parse_args()
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/parser.py", line 724, in parse_args
config.environment.exec_env, opts.bids_dir, opts.participant_label
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/utils/bids.py", line 155, in validate_input_dir
subprocess.check_call(['bids-validator', bids_dir, '-c', temp.name])
File "/usr/local/miniconda/lib/python3.7/subprocess.py", line 341, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bids-validator', PosixPath('/data'), '-c', '/tmp/tmp47b0vj5p']' returned non-zero exit status 1.
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.8 -it -v C:\SOFTWARE\freesurfer\license.txt:/opt/freesurfer/license.txt:ro -v Y:\tmp\docker_test:/data:ro -v Y:\tmp\docker_test\sub-R0230:/out nipreps/fmriprep:20.2.3 /data /out participant --participant-label sub-R0230 --use-syn-sdc --stop-on-first-crash --fs-no-reconall --ignore slicetiming --output-spaces MNI152NLin6Asym
fMRIPrep: Please report errors to https://github.com/nipreps/fmriprep/issues
Terminal output of fMRIPrep v20.2.4:
You are using fMRIPrep-20.2.4, and a newer version of fMRIPrep is available: 20.2.5.
Please check out our documentation about how and when to upgrade:
https://fmriprep.readthedocs.io/en/latest/faq.html#upgrading
Traceback (most recent call last):
File "/usr/local/miniconda/bin/fmriprep", line 10, in <module>
sys.exit(main())
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/run.py", line 17, in main
parse_args()
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/cli/parser.py", line 635, in parse_args
config.from_dict(vars(opts))
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/config.py", line 648, in from_dict
execution.load(settings)
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/config.py", line 218, in load
cls.init()
File "/usr/local/miniconda/lib/python3.7/site-packages/fmriprep/config.py", line 469, in init
indexer=_indexer,
File "/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/layout.py", line 137, in __init__
root, description = validate_root(root, validate)
File "/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/validation.py", line 77, in validate_root
json.dumps(EXAMPLE_BIDS_DESCRIPTION)
bids.exceptions.BIDSValidationError: 'dataset_description.json' is missing from project root. Every valid BIDS dataset must have this file.
Example contents of 'dataset_description.json':
{"Name": "Example dataset", "BIDSVersion": "1.0.2"}
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.8 -it -v C:\SOFTWARE\freesurfer\license.txt:/opt/freesurfer/license.txt:ro -v Y:\tmp\docker_test:/data:ro -v Y:\tmp\docker_test\sub-R0230:/out nipreps/fmriprep:20.2.4 /data /out participant --participant-label sub-R0230 --use-syn-sdc --stop-on-first-crash --fs-no-reconall --ignore slicetiming --output-spaces MNI152NLin6Asym
fMRIPrep: Please report errors to https://github.com/nipreps/fmriprep/issues