Closed adelavega closed 2 years ago
I agree that we should handle this smoothly. Looks like PyBIDS needs to accept missing grouping variables, at least for run
and session
which can reasonably be absent while still having a clear meaning.
Should be fixed in latest release.
Previously we had decided to use a 3 level model (run, subject, dataset), even when there was only 1 run per subject. This had the advantage of keeping outputs & models the same across datasets (i.e. all datasets would have run level models, not some run level and some starting w/ subject level).
However, now the
groupby
directive in v1 models fails if there is no run information, and you try to group by run:e.g.:
Any idea what the proposed solution should be? The most obvious thing would be to suggest a 2 level model (and modify my conversion script accordingly), but I don't like how the model will change depending on the dataset.