Skip to content

Rotation number for single atoms has changed from inf to None #1368

@Andrew-S-Rosen

Description

@Andrew-S-Rosen

Code snippet

from emmet.core.symmetry import PointGroupData
from ase.build import molecule
from pymatgen.core import Molecule

mol = Molecule.from_ase_atoms(molecule("H"))
sigma = PointGroupData().from_molecule(mol).rotation_number
print(sigma)

What happened?

In #1350, the rotational symmetry number for a single atom changed from a value of inf to None. I'm not sure if this was intentional or not. I suppose None is more accurate than inf, although I'd argue that perhaps 1 is more accurate than either. Personally, I am fine with this change, but I did want to alert @esoteric-ephemera.

Version

0.86.2

Which OS?

  • MacOS
  • Windows
  • Linux

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions