From c3a92faa8c2886b98801043062d4243d1335cf44 Mon Sep 17 00:00:00 2001 From: chrisjonesBSU Date: Thu, 18 Jul 2024 15:13:08 -0600 Subject: [PATCH] use .format() where we call .join() --- mbuild/port.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbuild/port.py b/mbuild/port.py index 0629c2347..a8f01feb2 100644 --- a/mbuild/port.py +++ b/mbuild/port.py @@ -174,7 +174,7 @@ def access_labels(self): for label in port_labels: access_labels.add(f"['{label}']") for label in itertools.product(referrer_labels, port_labels): - access_labels.add(f"['{"']['".join(label)}']") + access_labels.add("['{}']".format("']['".join(label))) for key, val in self.root.labels.items(): if self is val: