diff --git a/mbuild/formats/hoomd_writer.py b/mbuild/formats/hoomd_writer.py index 3e347699c..fba8c3b44 100644 --- a/mbuild/formats/hoomd_writer.py +++ b/mbuild/formats/hoomd_writer.py @@ -53,7 +53,7 @@ def to_hoomdsnapshot( forcefield information (e.g. atom types, angle types, etc.). """ if isinstance(compound, mb.Compound): - gmso_top = form_mbuild(compound=compound) + gmso_top = from_mbuild(compound=compound) elif isinstance(compound, pmd.Structure): gmso_top = from_parmed(structure=compound)