nipy/nipy — pull request #250 by schwarty (2013-01-18 14:04:10+00:00)
Title: GLM null contrasts

Handles the case where some conditions are not present in every session in a multi-session fMRI protocol. FMRILinearModel fits as many glms as there are sessions, but required that 1) there are as many contrast vectors as sessions, 2) none of the contrast vector are all zeros. This patch just skips the null contrasts and prints a warning.