Open smeisler opened 2 years ago
I have replicated this issue as well. This must be a new bug since this flag used to work.
Thanks for the report!
Obviously as a work around I would suggest using fewer comp cor components, but this should be a "easy" fix, so hopefully we can push it through soon
Environment
FitLins v 0.10.1 run on Singularity 3.9.5 on CentOs 7.6
Expected Behavior
I am trying to implement a GLM that includes 5 aCompCor components as nuisance variables (among other variables). However, some of my functional runs do not have 5 aCompCor components. That is, in these runs, <5 components explained 50% of the variance. FitLins throws an error when trying to run my model on these runs since the 4th or 5th component (e.g.
a_comp_cor04
) are not present. I expected this error to not happen when including the--drop-missing
argument, but it persists.Observed Behavior
Steps to Reproduce
--drop-missing
argument:singularity run -e -B ${scratch},${bids_dir} $IMG ${scratch}/${subject}_db ${scratch}/${subject}_db/derivatives/fitlins_${model} run -m $scratch/${subject}_db/models/${task}-model-${model}.json -d ${scratch}/${subject}_db/derivatives/fmriprep/ -w $scratch --participant-label ${subject:4} --space $space --desc-label preproc -s 6 --drop-missing