Skip to content

Commit 23ba45d

Browse files
committed
remove if name ==main
1 parent 4af7b8c commit 23ba45d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pymatgen/core/libxcfunc.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,3 @@ def from_dict(cls, dct: dict) -> Self:
499499
def to_json(self) -> str:
500500
"""Get a json string representation of the LibxcFunc."""
501501
return json.dumps(self.as_dict(), cls=MontyEncoder)
502-
503-
504-
if __name__ == "__main__":
505-
for xc in LibxcFunc:
506-
print(xc)

0 commit comments

Comments
 (0)