pymatgen
pymatgen copied to clipboard
String representation of Spin enum
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
Changing the __repr__ would be a safer option than changing __str__ if we want something more readable.