Skip to content

FIX: Bug in tbss1 #1060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2015
Merged

FIX: Bug in tbss1 #1060

merged 1 commit into from
Sep 9, 2015

Conversation

robbert-harms
Copy link

If an image is loaded with more than 3 dimensions the function crashes.

For example, suppose we load an an image with dimensions (100, 50, 50, 1). The last dimension here is redundant, but still, it is there. This gives an tuple of length 4, which is to long for the format statement on the next line.

By limiting it to 3 dimensions, this works again.

chrisgorgo added a commit that referenced this pull request Sep 9, 2015
@chrisgorgo chrisgorgo merged commit 6d4d493 into nipy:master Sep 9, 2015
@robbert-harms robbert-harms deleted the tbss_fix branch September 10, 2015 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants