-
Notifications
You must be signed in to change notification settings - Fork 18
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
make scipy optional #25
Comments
See also MDAnalysis/mdanalysis#563 . |
We already do an interpolation when we initialize the |
- moved scipy.ndimage into interpolation method of Grid; will only be needed when interpolation is required - added build matrix tests with/without scipy - decorated tests with dec.skipif(module_not_found('scipy')) (from MDAnalysis) (added module_not_found to test/__init__.py; this also means that the tests are included in the package) - release as 0.3.2 - fixes #25
make scipy import optional (issue #25)
I just made it optional and the tests pass. Oliver Beckstein Am Dec 11, 2015 um 16:22 schrieb kain88-de [email protected]:
|
- The new release 0.3.1 of GridDataFormats contains the fix for issue MDAnalysis/GridDataFormats#21 which is needed to fix issue #544. - The release 0.3.2 allows importing of gridData without scipy.ndimage present (MDAnalysis/GridDataFormats#25): this allows the minimal tests to pass
scipy is not installed by setup.py but nevertheless scipy is imported in such a way that
import gridData
fails without scipy.Make sure that
import scipy
does not prevent importing of the package and give a sensible error message if functionality requiring scipy is used (the interpolation).The text was updated successfully, but these errors were encountered: