Skip to content

RF+TST: restore GiftiDataArray num_dim setter #468

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
Aug 1, 2016

Conversation

matthew-brett
Copy link
Member

We removed the GiftiDataArray.num_dim attribute in favor of a
property, but pymvpa was expecting to be able to set the value. Add a
setter that raises a ValueError if the value is incorrect, and gives a
deprecation warning regardless.

We removed the `GiftiDataArray.num_dim` attribute in favor of a
property, but pymvpa was expecting to be able to set the value.  Add a
setter that raises a ValueError if the value is incorrect, and gives a
deprecation warning regardless.
@coveralls
Copy link

coveralls commented Jul 30, 2016

Coverage Status

Coverage increased (+0.007%) to 96.216% when pulling ba6f4ae on matthew-brett:back-compat-gifti into 82a261c on nipy:master.

@codecov-io
Copy link

Current coverage is 94.23% (diff: 100%)

Merging #468 into master will increase coverage by 0.01%

@@             master       #468   diff @@
==========================================
  Files           160        160          
  Lines         21185      21197    +12   
  Methods           0          0          
  Messages          0          0          
  Branches       2265       2266     +1   
==========================================
+ Hits          19961      19975    +14   
+ Misses          803        802     -1   
+ Partials        421        420     -1   

Powered by Codecov. Last update 82a261c...ba6f4ae

@effigies
Copy link
Member

Looks reasonable. If it fixes the PyMVPA tests, I'd say +1 for merge.

@yarikoptic
Copy link
Member

Thank you! Meanwhile I will make it compatible with upcoming release. Will it be 2.0.3 or 2.1 or 3? ;)

@matthew-brett
Copy link
Member Author

Next release will be 2.1

@matthew-brett matthew-brett merged commit a4724b7 into nipy:master Aug 1, 2016
@matthew-brett matthew-brett deleted the back-compat-gifti branch August 1, 2016 19:36
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.

5 participants