From 1767c84c174a4f426521d1078499a70f082e0662 Mon Sep 17 00:00:00 2001 From: chrisjonesBSU Date: Fri, 13 Sep 2024 13:34:06 -0600 Subject: [PATCH] fix import --- mbuild/formats/hoomd_writer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mbuild/formats/hoomd_writer.py b/mbuild/formats/hoomd_writer.py index bcf88ec94..fa2be3208 100644 --- a/mbuild/formats/hoomd_writer.py +++ b/mbuild/formats/hoomd_writer.py @@ -6,7 +6,6 @@ import gsd.hoomd import mbuild as mb -from mbuild.conversion import to_hoomdsnapshot __all__ = ["write_gsd"] @@ -53,7 +52,7 @@ def write_gsd( forcefield information (e.g. atom types, angle types, etc.). """ - snapshot = to_hoomdsnapshot( + snapshot = compound.to_hoomdsnapshot( compound=compound, identify_connections=identify_connections, ref_distance=ref_distance,