Skip to content

Squeeze option in utility.Split #955

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 3 commits into from
Oct 14, 2014
Merged

Conversation

oesteban
Copy link
Contributor

The new option (default is False for backwards compatibility) removes the list decoration of one-element outputs when set to True, in a somehow similar way to numpy.squeeze.

Also a test has been added.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) when pulling 95f00a7 on oesteban:enh/niuSplitSqueeze into 35c9f46 on nipy:master.

chrisgorgo added a commit that referenced this pull request Oct 14, 2014
@chrisgorgo chrisgorgo merged commit aa6e77e into nipy:master Oct 14, 2014
@oesteban oesteban deleted the enh/niuSplitSqueeze branch October 14, 2014 22:37
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.

3 participants