Skip to content

Commit d08f40f

Browse files
committed
chore: add get_string alias for Poscar
1 parent 0e57abf commit d08f40f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymatgen/io/vasp/inputs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,8 @@ def get_str(self, direct: bool = True, vasp4_compatible: bool = False, significa
584584

585585
return "\n".join(lines) + "\n"
586586

587+
get_string = get_str
588+
587589
def __repr__(self):
588590
return self.get_str()
589591

0 commit comments

Comments
 (0)