Skip to content
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

BF+ENH: FxMapper to make output order of groups deterministic (sorted by default) #215

Merged
merged 4 commits into from
Mar 28, 2014

Conversation

yarikoptic
Copy link
Member

Also allows for order=occurence which should sort groups in "original" order
as samples within the groups appeared in the dataset. Would be valuable
to see run-order dependencies after block averaging etc. Ideally that should
even be default but that would change behaviour of code of many, thus not made default. Now order is determined by order of keys (uattrs) in a dictionary, thus not fully deterministic to say the least. And that is what caused daily tests breakage
with Python 3

Feel welcome to suggest naming and any other improvements.

… by default)

Also allows for order=occurence which should sort groups in "original" order
as samples within the groups appeared in the dataset. Would be valuable
to see run-order dependencies after block averaging etc.  Ideally that should
even be default but that would change behaviour of code of many, where now
order is determined by order of keys in a dictionary, thus not fully
deterministic to say the least.  And that is what caused daily tests breakage
with Python 3
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 61a8c3b on yarikoptic:enh/fxmapper_order into 9e01d27 on PyMVPA:master.

@yarikoptic
Copy link
Member Author

hm... travis failure seems to be unrelated to this PR changes

@yarikoptic
Copy link
Member Author

ok -- if no objections from travis and anyone else comes within an hour -- would merge

@nno
Copy link
Contributor

nno commented Mar 28, 2014

Looks good to me.

nno added a commit that referenced this pull request Mar 28, 2014
BF+ENH: FxMapper to make output order of groups deterministic (sorted by default)
@nno nno merged commit 9d92472 into PyMVPA:master Mar 28, 2014
@yarikoptic
Copy link
Member Author

Thank you @nno! ;)

though usually it is better to wait at least for travis (I have pushed changes recently)

@yarikoptic yarikoptic deleted the enh/fxmapper_order branch March 28, 2014 17:12
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