Closed adelavega closed 2 years ago
Is it possible that the inputs lack the correct entities:
inputs
(outputs from l1) are:
[ContrastInfo(name='as-Speech', conditions=['as-Speech'], weights=[1], test='t', entities={'run': 1, 'contrast': 'as-Speech'}),
ContrastInfo(name='as-Speech', conditions=['as-Speech'], weights=[1], test='t', entities={'run': 2, 'contrast': 'as-Speech'})]
It seems like this should be of length 4, as there are 2 subjects and 2 runs.
Issue was missing GroupBy
in each level.
This could be a pybids issue, but posting here since its relevant.
I implemented the v0.x -> 1.0 StatsModel conversion script: https://github.com/neuroscout/neuroscout-cli/pull/147
This is a resulting model (loaded into Python)
Running fitlins, I'm getting this error:
Diving in interactively, this is during the
Subject
level. It seems that by default, it groups by['subject', 'contrast']
.However, the df in this instance looks like:
Looks correct aside that it should have a subject column in addition to be able to do the
groupby
.Any ideas off the top of your head?