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

shape_base.py:873: VisibleDeprecationWarning #462

Open
pdeperio opened this issue Nov 22, 2016 · 3 comments
Open

shape_base.py:873: VisibleDeprecationWarning #462

pdeperio opened this issue Nov 22, 2016 · 3 comments

Comments

@pdeperio
Copy link
Contributor

(Benign) warning appearing during MC processing:

/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_v6.1.0/lib/python3.4/site-packages/numpy/lib/shape_base.py:873: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future

Does not appear in Midway processing (numpy=1.11.1), so might be from newer version on CVMFS (numpy=1.11.2).

Would be nice to suppress/fix this to clean up logs and facilitate (real) error searching.

Note, to load CVMFS environment on Midway:

export PATH="/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/bin:$PATH"
source activate pax_v6.1.0
@JelleAalbers
Copy link
Contributor

I agree. We'll have to do something like http://stackoverflow.com/questions/22373927/get-traceback-of-warnings to show where the warning actually comes from.

@tunnell
Copy link
Member

tunnell commented Nov 28, 2016

Can we not change version on CVMFS to match Midway for now? @JelleAalbers are you just suggesting we add np.seterr(invalid='raise') in core?

@JelleAalbers
Copy link
Contributor

Yes, just to figure out where it comes from. Maybe in plugin.py so it gets loaded everywhere.

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

No branches or pull requests

3 participants