-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for FirstLevelModel compute_contrast for multiple runs with varyi…
…ng matrice size or columns (#2688) * fix for FirstLevelModel compute_contrast in case of multiple runs with varying matrice size or columns ordering * add tests for contrast with formulas on matrices with varying size * allow 1 or n_runs contrasts otherwise raise ValueError * assert that ValueError is raised if n_contrasts not in (n_runs,1) * fix warning to only be raised when n_contrasts==1 and n_runs>1 check that warning is raised when n_contrasts==1 and n_runs>1 * tests: check warning for formulas
- Loading branch information
Showing
2 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters