Skip to content

Create a .offxml file from a .xml file #39

Closed Answered by mattwthompson
FlorisLoffler asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to create a .offxml file based off of a .XML file?

No, if your force field is "OpenMM" style and written to be loaded by openmm.app.ForceField, that force field is not a SMIRNOFF force field and can't be meaningfully rewritten to .offxml format. (It's not just a matter of inter-converting files, the actual contents thereof are meaningfully different. For starters, SMIRNOFF force fields do not use atom types which are central to all other force fields. It's sometimes possible to port force fields between representations but that's not a path we recommend going down.)

It's possible, though at times scientifically dubious, to use different force field representations alongsi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by j-wags
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants