From 63e57cf2adfa7ce44da5659cbbd62752522c9365 Mon Sep 17 00:00:00 2001 From: kaminow Date: Thu, 4 Jan 2024 13:21:20 -0500 Subject: [PATCH] Adjust checking for how to process irreps string. --- mtenn/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtenn/config.py b/mtenn/config.py index 605ba1e..5e377f5 100644 --- a/mtenn/config.py +++ b/mtenn/config.py @@ -648,7 +648,7 @@ def massage_irreps(cls, values): irreps = values["irreps_hidden"] # First see if this string should be converted into a dict if isinstance(irreps, str): - if ("," in irreps) and (":" in irreps): + if ":" in irreps: orig_irreps = irreps irreps = [i.split(":") for i in irreps.split(",")] try: