Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
daico007 committed Nov 28, 2023
1 parent 918a1b1 commit da507ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gmso/formats/top.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ def write_top(top, filename, top_vars=None):
site.atom_type.name,
str(site.molecule.number if site.molecule else 1),
tag,
site.atom_type.tags.get(
["element"], site.element.symbol
),
site.atom_type.tags.get("element", site.element.symbol),
"1", # TODO: care about charge groups
site.charge.in_units(u.elementary_charge).value,
site.atom_type.mass.in_units(u.amu).value,
Expand Down

0 comments on commit da507ff

Please sign in to comment.