2018-11-03 00:13:41,245 mriqc:IMPORTANT
Running MRIQC version 0.14.2:
* BIDS dataset path: /scratch/groups/hyo/OPUS/BIDS_data.
* Output folder: /scratch/groups/hyo/OPUS/BIDS_data/derivatives/mriqc.
* Analysis levels: participant.
2018-11-03 00:13:41,246 mriqc:INFO Participant level started. Checking BIDS dataset...
2018-11-03 00:13:45,104 mriqc:CRITICAL MRIQC did not find any target image file under the given BIDS folder (/scratch/groups/hyo/OPUS/BIDS_data). Please ensure that the dataset is BIDS valid at http://incf.github.io/bids-validator/ .
2018-11-03 00:13:45,106 mriqc:WARNING The following BIDS entities were selected as filters: --participant-label sub-03, --modalities T1w bold. Please, check whether their combinations are possible.
I’m not sure that the issue is my data structure. I ran a relatively recent version of the BIDS validator (2018/5/19) on my dataset, and it spotted no problems, and I’ve managed to run fmriprep on these data with no issues. Based on previous threads, I tried binding /scratch (and other variations) using the -B flag, but I got the same error:
singularity -B /scratch/groups/hyo:/scratch/groups/hyo run $MRIQC $BIDS_DIR $OUT_DIR participant \
--participant-label sub-03 \
-m T1w bold \
-w $WORK_DIR -vvv
2018-11-03 00:19:46,386 mriqc:IMPORTANT
Running MRIQC version 0.14.2:
* BIDS dataset path: /scratch/groups/hyo/OPUS/BIDS_data.
* Output folder: /scratch/groups/hyo/OPUS/BIDS_data/derivatives/mriqc.
* Analysis levels: participant.
2018-11-03 00:19:46,386 mriqc:INFO Participant level started. Checking BIDS dataset...
2018-11-03 00:19:49,990 mriqc:CRITICAL MRIQC did not find any target image file under the given BIDS folder (/scratch/groups/hyo/OPUS/BIDS_data). Please ensure that the dataset is BIDS valid at http://incf.github.io/bids-validator/ .
2018-11-03 00:19:49,992 mriqc:WARNING The following BIDS entities were selected as filters: --participant-label sub-03, --modalities T1w bold. Please, check whether their combinations are possible.
I would run singularity shell and find out whether the data directory is visible from within the container (i.e. /scratch/groups/hyo/OPUS/BIDS_data has all sub-* under).
Thanks for the tip! I just tried this, and I can see all subject directories and image files from within the container. I still get the error, though. What would you suggest I try next?
Hi Oesteban,
I’m following along trying to resolve my error with mriqc using singularity and in my singularity ls does not show the subjects. What is the fix in this case? (I thought I manually bound my directory but it seems not to have worked?).
If you need me to provide further information/ error messages I’d be more than happy to add it. Any advice would be greatly appreciated (I’ve been stuck on this a long time).
(Just in case you are able to help I thought I’d pre-emptively share my command here. I’ve tried various iterations (e.g. most of my attempts have not used 2 -B arguments) but thought I’d share my most complete attempt here.
#!/bin/bash/
bids_root_dir= /home/kgeier/projects/rrg-brad/shared/users/rolsen/face_rep
subj=1002
nthreads=2
mem=10 #gb
Here’s an excerpt of the error I get :
Running MRIQC version 0.15.1:
* BIDS dataset path: /project/6019291/shared/users/rolsen/face_rep.
* Output folder: /project/6019291/shared/users/rolsen/face_rep/derivatives/mriqc/sub-1002.
* Analysis levels: participant.
Process Process-2:
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/pathlib.py”, line 1241, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: ‘/project/6019291/shared/users/rolsen/face_rep/derivatives/mriqc/sub-1002/logs’
I think I’ve resolved the issue!
I’ll post what I got working below in case it helps others. It was an issue with proper binding as I suspected but my attempts to fix it weren’t correct