Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[searchlight] sys.exit used in _get_block_data #156
Comments
mihaic
added
the
bug
label
Jan 11, 2017
mihaic
assigned
mjanderson09
Jan 11, 2017
mihaic
added
the
easy
label
Jun 14, 2017
mihaic
unassigned
mjanderson09
Jun 14, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@YSanchezAraujo, thanks for looking into this issue. Indeed, I am saying that an exception should be raised in In practice, in addition to raising an exception in Instead, it would be simpler to check the input shape in |
This comment has been minimized.
This comment has been minimized.
thanks for the response, some questions: is the thinking of something like: assert mask.ndim == 3, "mask should be a 3D array"
for (idx, subj) in enumerate(subjects):
assert subj.ndim == 4, \
"expected 4D data for index {} in subjects".format(idx) |
This comment has been minimized.
This comment has been minimized.
We should also check |
mihaic commentedJan 11, 2017
https://github.com/IntelPNI/brainiak/blob/master/brainiak/searchlight/searchlight.py#L136
Instead, an exception should be raised (and documented) in
distribute
if the input data does not have the proper shape.