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

Resolve bug in bar_model.delta_f_ creation #397

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

jaclark5
Copy link
Contributor

In the recent PR #381, there was a change to creating the delta_f_ matrix creation which resulted in the columns and indices being tuples that were in the wrong order for single lambda computations.

This PR resolves that issue, ensures that columns are in the correct order, and adds a test for the delta_f_ columns in the future.

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.78%. Comparing base (0c330cd) to head (81cd35c).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
- Coverage   98.78%   98.78%   -0.01%     
==========================================
  Files          28       28              
  Lines        1981     1980       -1     
  Branches      435      435              
==========================================
- Hits         1957     1956       -1     
  Misses          2        2              
  Partials       22       22              

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

Copy link
Member

@orbeckst orbeckst 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 for explicitly testing!

@orbeckst orbeckst self-assigned this Sep 17, 2024
@orbeckst orbeckst merged commit aaf5218 into alchemistry:master Sep 17, 2024
8 checks passed
jaclark5 added a commit to jaclark5/alchemlyb that referenced this pull request Sep 19, 2024
* fix bug introduced in PR alchemistry#381: there was a change to creating the delta_f_ matrix,
  which resulted in the columns and indices being tuples that were in the wrong order 
  for single lambda computations.
* ensure that columns are in the correct order by explicitly sorting
* add a test for the delta_f_ columns
jaclark5 added a commit to jaclark5/alchemlyb that referenced this pull request Nov 15, 2024
* fix bug introduced in PR alchemistry#381: there was a change to creating the delta_f_ matrix,
  which resulted in the columns and indices being tuples that were in the wrong order
  for single lambda computations.
* ensure that columns are in the correct order by explicitly sorting
* add a test for the delta_f_ columns
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.

2 participants