I’m running fmriprep on some BIDS validated data, and our pipeline successfully completes on other subjects/sessions, howeverI’m receiving the same error over and over again on one particular session. The source of the error seems to be:
MRISread(/flywheel/v0/output/5de9524af99936001ce1a19f/freesurfer/sub-TOME3024/surf/rh.white): could not open file
This occurs in the node _autorecon_surfs0
New users can’t attach files here, however I’ve linked to the following files in pastebin:
- fmriprep crash report (from fmriprep)
- recon-all-lh.cmd (from freesurfer)
- recon-all-lh.log (from freesurfer)
The file “rh.white” is present in the outputs, and seems to be correctly registered with the brain, as it can be loaded in fsleyes along with “lh.white”, which match with the subject’s T1.
looking at the “recon-all-lh.cmd” log, it seems to error on the command:
bbregister --s sub-TOME3024 --mov /flywheel/v0/output/5de9524af99936001ce1a19f/freesurfer/sub-TOME3024/mri/orig/T2raw.mgz --lta /flywheel/v0/output/5de9524af99936001ce1a19f/freesurfer/sub-TOME3024/mri/transforms/T2raw.auto.lta --init-coreg --T2
This causes recon-all-lh to crash (or at least have an error in its log that prevents it from continuing. ). Later, recon-all-rh is run, and an identical command is called. This time, it completes successfully. In the logs, we see that “rh.white” is loaded and used successfully. This log is timestamped AFTER recon-all-lh.log.
I saw a similar error posted, but it was for DWI and tracula. The way we run our scripts, it’s not feasible for us to wait for the crash, fix the error, and continue running fmriprep from there. Does anyone have any suggestions for how to avoid this?
The full fmriprep call is as follows:
usr/local/miniconda/bin/fmriprep --output-spaces=MNI152NLin2009cAsym --bold2t1w-dof=6 --aroma-melodic-dimensionality=200 --fd-spike-threshold=2 --dvars-spike-threshold=2 --skull-strip-template=OASIS30ANTs --fmap-no-demean --write-graph --sloppy --fs-license-file=/flywheel/v0/input/freesurfer-license/license.txt /flywheel/v0/work/bids /flywheel/v0/output/5de951ebf999360029e1a376 participant