We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609bc6b commit fb9bdc1Copy full SHA for fb9bdc1
nipy/modalities/fmri/tests/test_design.py
@@ -115,3 +115,6 @@ def test_event_design():
115
'smt_0': [1, 1, -1, -1], # main effect fac_1
116
'smte_0': [1, -1, 1, -1], # main effect fac_2
117
})
118
+ # Test field called "time" is necessary
119
+ event_spec_1d = make_recarray(zip(onsets, fac_1), ('brighteyes', 'smt'))
120
+ assert_raises(ValueError, event_design, event_spec_1d, t)
0 commit comments