Closed SimonBoothroyd closed 3 years ago
@j-wags should be done in a4c2aea
@SimonBoothroyd Do you recall if we stored the id_map.json
artifact anywhere? @ldamore was just looking for it, and I can't find it either. If you still have it handy, could you attach it as an asset to the openff-forcefields
2.0.0 release?
Huh, here's the script, but I thought he'd deposited the file too... https://github.com/openforcefield/openff-sage/blob/main/scripts/renumber-parameters.py
I can imagine this being a case of Simon asking where the file should go, me saying "oh well there are so many repos with stuff in their git trees, and different stuff in their artifacts, and this is just a metadata update, so let me think about what's the optimal thing to do...", then getting distracted by a fire and never answering him. So there's a good chance it's my fault.
Ah, Simon indeed HAD sent me this file back in August, and I just never uploaded it. Apologies for losing track of this. I've added the file to the release assets of the openff-forcefields 2.0.0 release.
Description
This PR adds a new script that will re-number the parameter ids in a force field.
Examples
Because
openff-2.0.0-*.offxml
contains parameters with duplicate ids (e.g. twoc1
parameters) due to the addition of TIP3P, the id map should be constructed usingopenff-1.3.0.offxml
:Status