File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
nipy/modalities/fmri/tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,9 @@ def test_high_level_glm_null_contrasts():
116
116
single_session_model = FMRILinearModel (
117
117
fmri_data [:1 ], design_matrices [:1 ], mask = None )
118
118
single_session_model .fit ()
119
- z1 , = multi_session_model .contrast ([np .eye (rk )[:1 ]] * 2 )
120
- z2 , = multi_session_model .contrast ([np .eye (rk )[:1 ], np .zeros ((1 , rk ))])
121
- z3 , = single_session_model .contrast ([np .eye (rk )[:1 ]])
122
- np .testing .assert_almost_equal (z2 .get_data (), z3 .get_data ())
119
+ z1 , = multi_session_model .contrast ([np .eye (rk )[:1 ], np .zeros ((1 , rk ))])
120
+ z2 , = single_session_model .contrast ([np .eye (rk )[:1 ]])
121
+ np .testing .assert_almost_equal (z1 .get_data (), z2 .get_data ())
123
122
124
123
125
124
def ols_glm (n = 100 , p = 80 , q = 10 ):
You can’t perform that action at this time.
0 commit comments