Skip to content

Conversation

yuxuanzhuang
Copy link
Contributor

@yuxuanzhuang yuxuanzhuang commented May 31, 2025

Fixes #5052

Changes made in this Pull Request:

  • Fixed a typo in SingleFrameReaderBase where self.atom was incorrectly used instead of self.atoms to store the number of atoms
  • Conform DATAReader of LAMPMPS of this upstream setting.

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS? (If it is not, add it!)

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.


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

Copy link

codecov bot commented May 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.62%. Comparing base (e49c1fa) to head (0c82960).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5055   +/-   ##
========================================
  Coverage    93.62%   93.62%           
========================================
  Files          177      177           
  Lines        22001    22001           
  Branches      3114     3114           
========================================
  Hits         20599    20599           
  Misses         947      947           
  Partials       455      455           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks!

@@ -33,6 +33,7 @@ Fixes
* Fixes the benchmark `SimpleRmsBench` in `benchmarks/analysis/rms.py`
by changing the way weights for RMSD are calculated, instead of
directly passing them. (Issue #3520, PR #5006)
* Fix incorrect `self.atom` assignment in SingleFrameReaderBase (Issue #5052, PR #5055)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to be pedantic about this, but could you put this at the top? It's very useful on release to get the chronological order right.

@IAlibay
Copy link
Member

IAlibay commented Jun 1, 2025

@yuxuanzhuang please feel free to merge at your leisure once you update the changelog entry.

@yuxuanzhuang yuxuanzhuang merged commit 8b0be5f into MDAnalysis:develop Jun 1, 2025
14 of 22 checks passed
@yuxuanzhuang
Copy link
Contributor Author

Thanks!

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.

Fixing Typo in SingleBaseReaderClass leads to lammps test errors/failure
2 participants