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

RF: rename variables in ROI selection loops #423

Merged
merged 2 commits into from
Feb 6, 2017

Conversation

matthew-brett
Copy link
Member

Rename variables for clarity, as proposed in
#422

Rename variables for clarity, as proposed in
nipy#422
@matthew-brett
Copy link
Member Author

By the way, I think https://github.com/nipy/nipy/blob/master/nipy/labs/spatial_models/mroi.py#L689 must be wrong - the self variable will get rebound, and so have no effect on the self in the method signature. You'd need to set the properties / attributes of self directly.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.604% when pulling e6f347b on matthew-brett:refactor-mroi into 2e0871e on nipy:master.

Fix select of roi when the selection is empty.  Test.
@codecov-io
Copy link

codecov-io commented Feb 2, 2017

Codecov Report

Merging #423 into master will increase coverage by <.01%.

@@            Coverage Diff             @@
##           master     #423      +/-   ##
==========================================
+ Coverage   83.18%   83.18%   +<.01%     
==========================================
  Files         299      299              
  Lines       28077    28084       +7     
  Branches     3270     3270              
==========================================
+ Hits        23356    23363       +7     
  Misses       3719     3719              
  Partials     1002     1002
Impacted Files Coverage Δ
nipy/labs/spatial_models/tests/test_mroi.py 97.56% <100%> (+0.1%)
nipy/labs/spatial_models/mroi.py 57.99% <100%> (+0.31%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e0871e...ac17468. Read the comment docs.

@matthew-brett
Copy link
Member Author

I added a fix and test for the select_roi bug.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 86.607% when pulling ac17468 on matthew-brett:refactor-mroi into 2e0871e on nipy:master.

@matthew-brett
Copy link
Member Author

@VirgileFritsch - any comment here?

@VirgileFritsch
Copy link
Contributor

That's fine. Thank you Matthew :)

@matthew-brett matthew-brett merged commit 2230072 into nipy:master Feb 6, 2017
@matthew-brett
Copy link
Member Author

Thanks - in it goes.

@matthew-brett matthew-brett deleted the refactor-mroi branch February 6, 2017 10:05
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.

None yet

4 participants