Skip to content

Update NCDF Reader to read .ncrst Restart Files - #5031

Open
jeremyleung521 wants to merge 62 commits into
MDAnalysis:developfrom
jeremyleung521:ncrst-reader
Open

jeremyleung521 wants to merge 62 commits into
MDAnalysis:developfrom
jeremyleung521:ncrst-reader

Conversation

@jeremyleung521

@jeremyleung521 jeremyleung521 commented Apr 17, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #5030

Changes made in this Pull Request:

  • Updated NCDF Reader to read Amber .ncrst restart files
  • Added tests to verify that the ncrst file is readed correctly. The test file I used is created from a .nc file already present in MDAnalysisTest

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no

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!)
  • I have read and understand the current AI Policy
  • LLM/AI disclosure was updated.

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--5031.org.readthedocs.build/en/5031/

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hello there first time contributor! Welcome to the MDAnalysis community! We ask that all contributors abide by our Code of Conduct and that first time contributors introduce themselves on GitHub Discussions so we can get to know you. You can learn more about participating here. Please also add yourself to package/AUTHORS as part of this PR.

@jeremyleung521
jeremyleung521 marked this pull request as ready for review July 22, 2025 21:21
@orbeckst

orbeckst commented Jul 22, 2025 via email

Copy link
Copy Markdown
Member

@yuxuanzhuang yuxuanzhuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks lgtm!

@IAlibay IAlibay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry I completely lapsed on reviewing this.

I'm unfortunately going to have to put a pause on this so that it doesn't get eagerly merged into the upcoming release. There's a few things I had in my notes I needed to check before we merged this - mostly AMBER format things.

@IAlibay IAlibay self-assigned this Oct 13, 2025
@IAlibay IAlibay added this to the 2.11 milestone Oct 13, 2025
@jeremyleung521

Copy link
Copy Markdown
Contributor Author

@IAlibay Since it's been a while, I'll ping you again for review :) It's one of the features that our lab really, really needs and it would be nice if it could be implemented. Thanks!

@IAlibay

IAlibay commented Feb 17, 2026

Copy link
Copy Markdown
Member

@IAlibay Since it's been a while, I'll ping you again for review :) It's one of the features that our lab really, really needs and it would be nice if it could be implemented. Thanks!

I'm so sorry @jeremyleung521 - it's been very hard to find time to review this. I'm unfortunately OOO for the next couple of weeks, but I will put it at the top of my todo list at the start of March.

Again apologies, I know this has been dragging for a long while.

@IAlibay IAlibay modified the milestones: 2.11, 2.12 Oct 9, 2026
@read-the-docs-community

read-the-docs-community Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

@jeremyleung521

jeremyleung521 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Just pulled all the recent changes so it should be up to date. Modified a couple lines in the docstrings so it's referring to 2.12.0 instead of 2.10.0 (which was the next version when this PR was written). Any other changes made was to fix the conflicts in package/CHANGELOG and package/AUTHORS.

All tests passed locally and I think will pass on the CI shortly.

@IAlibay

IAlibay commented Oct 29, 2026

Copy link
Copy Markdown
Member

Just pulled all the recent changes so it should be up to date. Modified a couple lines in the docstrings so it's referring to 2.12.0 instead of 2.10.0 (which was the next version when this PR was written). Any other changes made was to fix the conflicts in package/CHANGELOG and package/AUTHORS.

All tests passed locally and I think will pass on the CI shortly.

Thanks - I know I keep saying this but this is actually the next on my todo list. I wanted to get this done for the 2.11 release, but ran out of time.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Amber NetCDF Restart Files (.ncrst)

5 participants