-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Participant_label flag is ignored when running docker #1186
Comments
Very possible that some flags of the CLI are not properly passed to MAtlab or Octave. Will double check. Thanks for opening an issue. |
Trying to reproduce on the main branch. Running this on some of the data in the 'demos/openneuro/inputs/ds000001'. bidspm inputs/ds000001 outputs/ds000001/derivatives subject \
--action preprocess \
--task balloonanalogrisktask \
--fwhm 8 \
--participant_label 01 02 03 Command constructed: addpath('/home/remi/github/cpp-lln-lab/bidspm'); % I just added this (so you may not have it)
bidspm();
bidspm('/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/inputs/ds000001', ...
'/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/outputs/ds000001/derivatives', ...
'subject', ...
'action', 'preprocess', ...
'verbosity', 2, ...
'space', { 'IXI549Space' }, ...
'task', { 'balloonanalogrisktask' }, ...
'fwhm', [8.0], ...
'participant_label', { '01', '02', '03' });
exit; And then some of the workflow indeed say that they will work on just 3 subjects.
Did you have this bug for the preprocess action too? I assumed you did: just want to make sure. |
just to know. what was the command you passed to the docker image and what command was constructed and passed to bidspm? |
I ran the following in docker command:
and the following was passed to bidspm:
|
OK thanks will keep digging |
OK trying on stats running this: bidspm demos/openneuro/inputs/ds000001 demos/openneuro/outputs/ds000001/derivatives subject \
--action stats \
--preproc_dir demos/openneuro/outputs/ds000001/derivatives/bidspm-preproc \
--task balloonanalogrisktask \
--model_file demos/openneuro/models/model-balloonanalogrisktaskDefault_smdl.json \
--fwhm 8 \
--participant_label 01 02 gives this bidspm();
bidspm('/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/inputs/ds000001', ...
'/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/outputs/ds000001/derivatives', ...
'subject', ...
'action', 'stats', ...
'verbosity', 2, ...
'space', { 'IXI549Space' }, ...
'fwhm', [8.0], ...
'participant_label', { '01', '02' }, ...
'preproc_dir', '/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/outputs/ds000001/derivatives/bidspm-preproc', ...
'model_file', '/home/remi/github/cpp-lln-lab/bidspm/demos/openneuro/models/model-balloonanalogrisktaskDefault_smdl.json');
exit; and runs on the requested subjects. Next thing to try for me: try to reproduce with the latest stable docker image. |
Is there an existing issue for this?
Operating system
Operating system version
Windows 11
SPM 12 version
Platform
Platform version
Latest docker image
bidspm version
v3.1.0
bidspm branch / commit number
No response
Expected Behavior
When I add the participant_label flag to my command I expect to run only the participants I specified. But the flag is not passed on the bidspm function.
BIDS stats model
No response
Current Behavior & Error message
All participant data is processed and I do not get any error messages or warnings related to the participant flag.
Anything else?
I have tried out the participant flag with the actions smooth and stats.
The text was updated successfully, but these errors were encountered: