Hey all,
hoping this is me just missing something really easy. I keep trying to submit a slurm script but get the error “fmriprep: error: the following arguments are required: bids_dir, output_dir, analysis_level”
What I see is:
bids_dir == /base_dir/experiments/bromocriptine/data/bids/bids
output_dir == /base_dir/experiments/bromocriptine/data/fmriprep
analysis_level == participant
Hi Steven,
thanks! Yes I realize it is an older version, but I am trying to reproduce an analysis thus using the older version is needed. I am able to cd to the base_dir and it all looks alright.
All the best,
Grace
Just to be clear, are you able to cd to the base dir while in the singulairty shell?
Could you also see if it works on a more recent version of fmriprep? I’m wondering if the command line syntax has gone through considerable changes since 2019.
You can also try putting the positional arguments at the end of the fmriprep call instead of the beginning, though I doubt that would change much.
But when I use the same call in my slurm job script I get the same “fmriprep: error: the following arguments are required: bids_dir, output_dir, analysis_level”
Well I might have found the error:
The slurm file needs to say “exec” NOT “run”
The process could still crash for other reasons, but at least it is launching now
You can also keep at as singularity run and remove the fmriprep part, as the default run for the fmriprep container is to run fmriprep, but operationally they are the same!