Skip to content

Commit 45a30f9

Browse files
authored
Merge pull request #44 from neuroscout/fix/subject_level
Always create subject level
2 parents 3042879 + 71bcad2 commit 45a30f9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pyns/models/utils.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ def build_model(name, variables, task, subject, run=None, session=None,
3636
"Name": name,
3737
}
3838

39-
if run is not None and len(run) > 1:
40-
model['Steps'].append(
41-
{
42-
"AutoContrasts": True,
43-
"Level": "Subject"
44-
}
45-
)
39+
model['Steps'].append(
40+
{
41+
"AutoContrasts": True,
42+
"Level": "Subject"
43+
}
44+
)
4645

4746
model['Steps'].append(
4847
{

0 commit comments

Comments
 (0)