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

Suppress error message during failed UmfpackContext import #759

Merged
merged 6 commits into from Oct 11, 2013

Conversation

jni
Copy link
Member

@jni jni commented Oct 5, 2013

This message was caused by a bug in scipy that was fixed by @tonysyu after 0.12. Since we probably don't want to bump up the scipy requirement that high, this is probably a useful thing to do for scikit-image users.

See discussion in
https://groups.google.com/d/msg/scikit-image/FrM5IGP6wh4/1hp-FtVZmfcJ

and solution proposed in
http://stackoverflow.com/questions/13977970/ignore-exceptions-printed-to-stderr-in-del/13977992?noredirect=1#comment28386412_13977992

@JDWarner proposes that we use the priority pyamg -> umf -> brute force for random walker. I'll let others decide whether we want that in this release. But I think suppressing the error message at least is a very nice thing to include.

@stefanv
Copy link
Member

stefanv commented Oct 6, 2013

Do you mind adding a comment with a link to the discussion so that we will understand the code in the future and remember to clean it up? Thereafter, I think it's good to merge.

@jni
Copy link
Member Author

jni commented Oct 7, 2013

Sure thing, @stefanv. Q: what do you think about the deprecation path for the default "mode" cascade in random_walker? Should I push the deprecation in this release, and add to-do for the next release?

@stefanv
Copy link
Member

stefanv commented Oct 7, 2013

If deprecations are to be made, now is the time to do it. It makes sense to me.

@jni
Copy link
Member Author

jni commented Oct 9, 2013

@JDWarner @stefanv /ping

stefanv added a commit that referenced this pull request Oct 11, 2013
Suppress error message during failed UmfpackContext import.
@stefanv stefanv merged commit dca2556 into scikit-image:master Oct 11, 2013
@jni jni deleted the supress-umf branch January 16, 2014 08:32
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

2 participants