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

Ignore deprecation warnings about numpy.oldnumeric #98

Merged
merged 1 commit into from Dec 10, 2014

Conversation

martyngigg
Copy link
Member

Fixes trac issue #10734

Tester: This should be tested on a system with numpy v1.8 & scipy v0.13. Build the code and run python -c "import mantid", you should see no warnings.

To check that all deprecation warnings have not been squashed you can use this script

from mantid.simpleapi import CreateSampleWorkspace

ws = CreateSampleWorkspace()
ws.getNumberBins()

It should produce a warning about getNumberBins being deprecated

Scipy uses it on some versions but we can't do anything about it.
Refs #10734
@peterfpeterson peterfpeterson added this to the Release 3.3 milestone Dec 10, 2014
@peterfpeterson peterfpeterson self-assigned this Dec 10, 2014
@peterfpeterson peterfpeterson merged commit a222290 into master Dec 10, 2014
@peterfpeterson peterfpeterson deleted the feature/10734_suppress_numpy_warnings branch December 10, 2014 14:40
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