-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mass and charge in GSD writer; Add angles and dihedrals to GSD wr…
…iter (#680) * Set default mass and charge to 0.0 * fix typo in doc string * fix attribute error when setting names of bonds * trying to get gsd writer to work when not using parmed * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix naming when bond member is an AtomType * fix angle writer, use f-strings * rewrite bond parser to use same process as angles * remove gsd import; change hoomd version in doc strings * fix write_dihedrals * re-use old dihedral sorting logic, remove commented out dihedral lines * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * change default mass and charge values back to None; fix handling of None mass and charges in gsd writer * add missing f in warning message * remove periods for consistency * fix issue of setting typeid index values * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * adding unit test that checks contents of gsd file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * minor change in docstring gmso/formats/gsd.py Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Co Quach <43968221+daico007@users.noreply.github.com>
- Loading branch information
1 parent
0a11627
commit dfda87f
Showing
2 changed files
with
138 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters