mdanalysis icon indicating copy to clipboard operation
mdanalysis copied to clipboard

add default None -> UserWarning

Open lilyminium opened this issue 1 year ago • 1 comments
trafficstars

Fixes #4746

Changes made in this Pull Request:

  • This mimics the Python warnings library by setting category=None to UserWarning by default

We don't appear to test our utilities anywhere so I haven't added a formal test -- but running it with #4744 worked.

PR Checklist

  • [ ] Tests?
  • [ ] Docs?
  • [ ] CHANGELOG updated?
  • [x] Issue raised/referenced?

Developers certificate of origin


📚 Documentation preview 📚: https://mdanalysis--4747.org.readthedocs.build/en/4747/

lilyminium avatar Oct 20 '24 04:10 lilyminium