pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

String representation of Spin enum

Open R1j1t opened this issue 5 months ago • 1 comments

Should the string representations for Spin.up/Spin.down be "up" and "down" respectively?

https://github.com/materialsproject/pymatgen/blob/ac8a7e9cd93ba9f7afeaced45dc28af6d4e151d4/pymatgen/electronic_structure/core.py#L29-L30

Similar to OrbitalType:

https://github.com/materialsproject/pymatgen/blob/ac8a7e9cd93ba9f7afeaced45dc28af6d4e151d4/pymatgen/electronic_structure/core.py#L42-L43

R1j1t avatar Jan 27 '24 04:01 R1j1t