Skip to content

Conversation

@mikemhenry
Copy link
Contributor

Checklist

  • Added a news entry

Developers certificate of origin

Fixes #1449

To disambiguate between esaplaoma and espaloma charge, we need to track
HAS_ESPALOMA separately from HAS_ESPALOMA_CHARGE
@codecov
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 93.21%. Comparing base (0cbfee2) to head (ec04766).
⚠️ Report is 92 commits behind head on main.

Files with missing lines Patch % Lines
openfe/protocols/openmm_utils/charge_generation.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1450      +/-   ##
==========================================
- Coverage   95.25%   93.21%   -2.05%     
==========================================
  Files         172      172              
  Lines       14487    14498      +11     
==========================================
- Hits        13800    13514     -286     
- Misses        687      984     +297     
Flag Coverage Δ
fast-tests 93.21% <93.33%> (?)
slow-tests ?

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.

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

@mikemhenry
Copy link
Contributor Author

We will need to update the logic when we start testing on python 3.14

@mikemhenry mikemhenry marked this pull request as ready for review September 24, 2025 22:33
@IAlibay IAlibay self-assigned this Oct 2, 2025
Copy link
Contributor

@atravitz atravitz left a comment

Choose a reason for hiding this comment

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

just one question

run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"

- name: "Setup Micromamba"
if: ${{ matrix.python-version != '3.13' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

do you expect this to work with python 3.14, or should this be <'3.13'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

idk how to do a less than for a string comparison, it really depends what happens in conda-forge land for rebuilds for different python versions.



@pytest.mark.skipif(not HAS_ESPALOMA, reason='espaloma is not available')
def test_dry_run_espaloma_vacuum(benzene_vacuum_system, tmpdir):
Copy link
Member

Choose a reason for hiding this comment

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

Ideally, we should check more things, like if the partial charges made it through, etc.. I'm ok with this as a smoke test, but we should raise a separate issue to try it out in a production setting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, I'll raise an issue, maybe we can add a GPU test where we run some MD with parameters from espaloma.

Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

No API break detected ✅

@mikemhenry mikemhenry merged commit 34988bf into main Oct 8, 2025
12 of 13 checks passed
@mikemhenry mikemhenry deleted the feat/add-espaloma-tests branch October 8, 2025 22:18
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.

Add espaloma tests

4 participants