From da507ff0f971554ce86a94c5ed31358374299b3e Mon Sep 17 00:00:00 2001 From: Co Quach Date: Tue, 28 Nov 2023 10:59:34 -0600 Subject: [PATCH] fix typo --- gmso/formats/top.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gmso/formats/top.py b/gmso/formats/top.py index 987cacd3f..57f16142e 100644 --- a/gmso/formats/top.py +++ b/gmso/formats/top.py @@ -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,