Skip to content

Commit

Permalink
Remove duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminow committed Dec 14, 2023
1 parent 66713e0 commit 0f8c9de
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions mtenn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,6 @@ class ModelType(StringEnum):
e3nn = "e3nn"
INVALID = "INVALID"

@classmethod
def get_values(cls) -> list[str]:
return [member.value for member in cls]

@classmethod
def reverse_lookup(cls, value):
return cls(value)

@classmethod
def get_names(cls) -> list[str]:
return [member.name for member in cls]


class StrategyConfig(StringEnum):
"""
Expand Down

0 comments on commit 0f8c9de

Please sign in to comment.