Skip to content

Check for valid mode in random_walker(). - #2362

Merged
soupault merged 2 commits into
scikit-image:masterfrom
benlongo:random-walker-mode
Nov 1, 2016
Merged

soupault merged 2 commits into
scikit-image:masterfrom
benlongo:random-walker-mode

Conversation

@benlongo

Copy link
Copy Markdown
Contributor

Description

Fixes the issue described in #2361

@jni jni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benlongo great and timely work! Could you please add a test for this line in skimage/segmentation/tests/test_random_walker.py using numpy.testing.assert_raises?

@codecov-io

codecov-io commented Oct 31, 2016 •

Copy link
Copy Markdown

Current coverage is 90.64% (diff: 100%)

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

@@             master      #2362   diff @@
==========================================
  Files           305        305          
  Lines         21582      21587     +5   
  Methods           0          0          
  Messages          0          0          
  Branches       1853       1854     +1   
==========================================
+ Hits          19563      19568     +5   
  Misses         1665       1665          
  Partials        354        354          

Powered by Codecov. Last update 3551389...0d20303

@jni

jni commented Oct 31, 2016

Copy link
Copy Markdown
Member

@scikit-image/core the Travis failure appears to be an error in the OSX VM and not a true build failure (all other builds pass). So I suggest merging ASAP!

@soupault

soupault commented Nov 1, 2016

Copy link
Copy Markdown
Member

@benlongo thanks!

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.

4 participants