MDAnalysis / mdanalysis

MDAnalysis is a Python library to analyze molecular dynamics simulations.
https://mdanalysis.org
Other
1.3k stars 648 forks source link

Convert "Quantity" to raw value for kinetic_energy and potential_energy in OpenMM reader #4548

Closed orionarcher closed 6 months ago

orionarcher commented 6 months ago

Changes made in this Pull Request:

This is breaking the ability of a downstream MDAkit to write H5MD files. Issue here. I suspect it is more generally breaking the ability to take in OpenMM and output H5MD, but it is only in openmm-reporter that I came across it.

PR Checklist

Developers certificate of origin


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

github-actions[bot] commented 6 months ago

Linter Bot Results:

Hi @orionarcher! Thanks for making this PR. We linted your code and found the following:

Some issues were found with the formatting of your code. Code Location Outcome
main package ⚠️ Possible failure
testsuite ✅ Passed

Please have a look at the darker-main-code and darker-test-code steps here for more details: https://github.com/MDAnalysis/mdanalysis/actions/runs/8495207361/job/23271241401


Please note: The black linter is purely informational, you can safely ignore these outcomes if there are no flake8 failures!

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.64%. Comparing base (a2a27aa) to head (54e5664).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #4548 +/- ## =========================================== - Coverage 93.66% 93.64% -0.03% =========================================== Files 168 180 +12 Lines 21248 22327 +1079 Branches 3917 3917 =========================================== + Hits 19902 20908 +1006 - Misses 888 961 +73 Partials 458 458 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pep8speaks commented 6 months ago

Hello @orionarcher! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2024-03-31 02:35:28 UTC