Closed chrisgorgo closed 4 years ago
Looking at recon-all.log I found:
mri_convert.bin /snapshot/data/sub-3129/anat/sub-3129_acq-MPRAGE_run-1_T1w.nii.gz /output/data/freesurfer/sub-3129/mri/orig/001.mgz
--------------------------------------------------------------------------
ERROR: Invalid FreeSurfer license key found in license file /input/data/b39610adfe02fdce2ad9d30797c567b3/LICENSE
If you are outside the NMR-Martinos Center,
go to http://surfer.nmr.mgh.harvard.edu/registration.html to
get a valid license file (it's free).
If you are inside the NMR-Martinos Center,
make sure to source the standard environment.
--------------------------------------------------------------------------
so there is something wrong with error reporting (but the real reason was bad license).
Interesting. Perhaps we can create a kind of FreeSurfer canary (say mri_convert <some_image>.nii.gz canary.nii.gz
) to make sure the license is valid?
I think it would be worth while to add something like this in the very beginning of the workflow.
The weird thing is that previously the error was much more clear.
I agree, that is weird.
I also think that maybe it makes sense to do during setup, when we check for the existence of the license file in the first place. So just run a bare MRIConvert
interface, rather than try to find a place to insert it into the workflow.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Perhaps the implementation of the canary should go here in sMRIPrep, but then imported from fMRIPrep to actually run it.
https://openneuro.org/datasets/ds001230/versions/00001?app=FMRIPREP&version=51&job=5a847e689259cd00018b9810
Possible introduced in 1.0.7
--n_cpus 4 --participant_label 3129 --use-aroma --fs-license-file /input/data/b39610adfe02fdce2ad9d30797c567b3/LICENSE --output-space template T1w fsaverage