Skip to content

Commit 23359fc

Browse files
committed
add comment in Structure.to/from_str pointing at https://github.com/JuDFTteam/pymatgen-io-fleur (closes #3159)
1 parent ed09fe7 commit 23359fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymatgen/core/structure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,7 @@ def to(self, filename: str = "", fmt: str = "", **kwargs) -> str | None:
26722672
sio = StringIO()
26732673
yaml.dump(self.as_dict(), sio)
26742674
return sio.getvalue()
2675+
# fleur support implemented in external namespace pkg https://github.com/JuDFTteam/pymatgen-io-fleur
26752676
elif fmt == "fleur-inpgen" or fnmatch(filename, "*.in*"):
26762677
from pymatgen.io.fleur import FleurInput
26772678

@@ -2754,6 +2755,7 @@ def from_str(
27542755
from pymatgen.io.atat import Mcsqs
27552756

27562757
struct = Mcsqs.structure_from_str(input_string, **kwargs)
2758+
# fleur support implemented in external namespace pkg https://github.com/JuDFTteam/pymatgen-io-fleur
27572759
elif fmt == "fleur-inpgen":
27582760
from pymatgen.io.fleur import FleurInput
27592761

0 commit comments

Comments
 (0)