Iβm working on implementing QSIprep, and am getting hung up on a seemingly simple error. The dataset passes the BIDs validation step and displays that T1w data is available in the initial table of available scans, but then throws this error when beginning code. Thanks for any suggestions!
Yes, included below! Thanks so much for any insight. It is kind of hard to tell with the text formatting, but the anat, dwi, fmap and scans.tsv are included within ses-shapesV1.
hm, that looks fine to me. How about the command you are using to run QSIPrep, and a bit about how youβre running it (e.g. container vs python vs wrapper etc)?
Iβm running it from a Singularity container on a high-performance cluster computing system (Linux). The command Iβm using is this (within a bash script):
singularity run qsiprep-0.14.3.sif ${subjdir} ${outdir} participant --output_resolution=1 --fs-license-file='license.txt'
Yes, itβs the directory containing sub-A228 and others. Is it possible this error might be specific to the singularity version? Perhaps Iβll see if I can get it running locallyβ¦ thank you all!
Also, replace license.txt with the full path to license.txt. Using singularity containers are like jumping into a new computer system temporarily. If you want to make your local data available, you have to explicitly specify what folders you want to bring along (done here with -B ${subjdir},${outdir}). Similarly, license.txt's full path should be specified, and if it is not somewhere in $subjdir, then the license should be bound to the container as well.
Thank you so much for these suggestions! Unfortunately, Iβm still encountering the same issues. The program does seem to run as expected when I use the --dwi_only flag, so seems like there might be some interference with the code that grabs the T1w file paths perhaps? Thank you again for any suggestions!
One other note is that I noticed the documentation for Singularity containers appears to be different on the βInstallationβ and βUsageβ pages. Is one of these more correct? I built the container using the βinstallationβ instructions (i.e. created a .sif, not .simg). Thanks so much!
Installation:
The easiest way to get a Sigularity image is to run:
the file extension of the container (e.g. .sif vs .simg) should not make a difference. Is QSIPrep recognizing your fieldmaps correctly? You can check the html file to see if susceptibility distortion correction was performed.
QSIPrep uses PyBIDS to query for files of specific modalities. I wonder, is there is something like a .bidsignore file that is preventing qsiprep from finding the T1w file?
Thank you @mattcieslak@Steven for your help with this! Yes, sorry some text got cut off but the command you shared was the command I used. In case anyone else encounters this issue, I was eventually able to solve this by moving the subject directory to a new (less complex) filepath. Iβm still not sure what was tripping the code up but doing that seems to have resolved the issue!