Skip to content

Conversation

@mattwthompson
Copy link
Collaborator

This is #239 but not from a fork

$ git remote add aizvorski [email protected]:aizvorski/openmmforcefields.git
$ git fetch --all
$ git checkout aizvorski/convert-all-amber-ions
$ git checkout -b convert-all-amber-ions
$ git push upstream convert-all-amber-ions

Feel free to push to this branch if the original feature branch is updated.

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Base: 76.33% // Head: 76.92% // Increases project coverage by +0.59% 🎉

Coverage data is based on head (8c11e3b) compared to base (9309ba8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #242      +/-   ##
==========================================
+ Coverage   76.33%   76.92%   +0.59%     
==========================================
  Files           4        4              
  Lines         845      845              
==========================================
+ Hits          645      650       +5     
+ Misses        200      195       -5     
Impacted Files Coverage Δ
...penmmforcefields/generators/template_generators.py 86.04% <0.00%> (+0.83%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jchodera
Copy link
Member

jchodera commented Oct 18, 2022

@mattwthompson : Thanks so much for doing this!

It looks like test_ffxml_import is showing amber/opc3_standard.xml is now failing with

E               ValueError: Could not locate file "ions/ionslm_126_opc3.xml"

I believe this is because the newly added ffxml/amber/opc3_standard.xml omits the amber/ at the front of the path:

 <Include file="ions/ionslm_126_opc3.xml"/>

The same happens for the newly added ffxml/amber/opc_standard.xml.

Are you able to prepend amber/ in those paths, or should @peastman try to debug?

@mattwthompson
Copy link
Collaborator Author

I have pytest openmmforcefields/tests/test_amber_import.py::test_ffxml_import -nauto passing locally - we'll see if the runners agree

@mattwthompson
Copy link
Collaborator Author

Okay, CI is passing now; there were some non-trivial changes brought in by merging upstream, so it might be worth another look. I'm not sure if the amber/ folder should be blown away or not, the two XML files could be duplicates or unused.

I also can't comment on the meat of the original PR #239 - my objective here is to get that work closer to the finish line; feel free to push directly to this branch if more work is needed.

@mikemhenry
Copy link
Collaborator

Would be good to have @aizvorski take a look at this

Copy link
Member

@jchodera jchodera left a comment

Choose a reason for hiding this comment

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

This looks good to me!

Thanks so much for putting in the hard work to contribute this, @aizvorski and @mattwthompson!

@aizvorski
Copy link
Contributor

aizvorski commented Oct 21, 2022

@mattwthompson Thank you very much for doing this! That was a tough merge

A couple of renames and this should be good to go:

amber/opc.xml -> openmmforcefields/ffxml/amber/opc.xml
amber/opc3.xml -> openmmforcefields/ffxml/amber/opc3.xml
(unlike other xml files in amber/ dir, these are meant to be part of the final output not just feedstocks)

Could you possibly do that? I'd do it but I'm not sure how :)

@mattwthompson
Copy link
Collaborator Author

Let's see if that works

@mattwthompson
Copy link
Collaborator Author

Okay, I think that worked. @aizvorski good to merge, do you think? Or @jchodera can merge when he gets to this next. I just don't want to do it without a final check.

@aizvorski
Copy link
Contributor

@mattwthompson Yep, good to merge! Thanks again

@mattwthompson mattwthompson merged commit b12c2e8 into main Oct 21, 2022
@mattwthompson mattwthompson deleted the convert-all-amber-ions branch October 21, 2022 19:33
@mattwthompson mattwthompson mentioned this pull request Mar 8, 2023
@ijpulidos ijpulidos added this to the 0.11.3 milestone Oct 12, 2023
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.

7 participants