-
Notifications
You must be signed in to change notification settings - Fork 75
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
save hoomd_xml files #73
Comments
In mBuild when saving as .hoomdxml, .gsd, and .lammpsdata the |
I think adding the writers into ParmEd makes the most sense long term but short term would it be easier to copy writing code from mbuild or import the mbuild |
My mistake, the functions are As @mikemhenry suggested, these can be imported by using:
These functions are not currently included in the mBuild documentation, but we have actually been working on updating the documentation today, so I can make sure that soon information is available for those functions so you will know what arguments to pass. |
Thanks! @evanmiller326 and I are presenting mbuild and foyer to our lab today and hoomd is pretty critical to our workflow. |
Okay for now then (since we won't have the docs updated for a bit) it would probably be best to look at the source code for mBuild (in the |
I'm gonna close this now but for the record the straightforward way to access these writers is with Compound.save E.g. ethane.save('ethane.hoomdxml', forcefield_name='oplsaa')
ethane.save('ethane.hoomdxml', forcefield_files='my_ff.xml') |
In the ethane.py example it is possible to save .top and .gro files. It would be nice to save hoomd_xml, gsd and lammpsdata files as it is done in mbuild.
The text was updated successfully, but these errors were encountered: