nipy/nipy — pull request #214 by yarikoptic (2012-08-28 17:44:04+00:00)
Title: ENH: check slice_order provided as a list for being legit

I have got really surprised that FmriRealign4d did not mind ANY slice_order specified in the list... so I am still not sure how completely incorrect values (e.g. negative) did not lead to immediate crash... So I have introduced a check that indexes slice_order cover all slices, starting from 0 -- is that the right "assumption"?