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

[HREMD] Truncate extra trajectory frames when loading checkpoint #32

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

SimonBoothroyd
Copy link
Collaborator

Description

This PR fixes a bug whereby extra trajectory frames may be present when loading from a checkpoint generated part way through a HREMD simulation. This would lead to a mismatch in the samples file and the trajectory, without an easy way to know which frames were saved after the checkpoint was saved.

Status

  • Ready to go

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.58%. Comparing base (0f1ae8f) to head (9257bbe).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   95.57%   95.58%   +0.01%     
==========================================
  Files          46       46              
  Lines        3093     3105      +12     
==========================================
+ Hits         2956     2968      +12     
  Misses        137      137              
Flag Coverage Δ
unittests 95.58% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@SimonBoothroyd SimonBoothroyd merged commit f5e1220 into main Dec 16, 2024
3 checks passed
@SimonBoothroyd SimonBoothroyd deleted the sb/fix-hremd-traj-truncate branch December 16, 2024 13:51
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.

1 participant