Skip to content

Commit

Permalink
Adjust checking for how to process irreps string.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminow committed Jan 4, 2024
1 parent 0f8c9de commit 63e57cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtenn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 63e57cf

Please sign in to comment.