Skip to content

Spglib unable to obtain structure space group info, during magnetic structure enumeration #3006

@kamronald

Description

@kamronald

When making an instance of MagneticStructureEnumerator, there is an error with the SpacegroupAnalyzer in determining space group number of structures enumerated using EnumerateStructureTransformation. I used the following code. Also attached are the screenshot with the errors and the CONTCAR used to generate magnetic orderings.

from pymatgen.core import Structure
from pymatgen.analysis.magnetism import MagneticStructureEnumerator
struc = Structure.from_file('CONTCAR')

mag_enum = MagneticStructureEnumerator(structure=struc, default_magmoms={'Li': 0, 'Mn': 4, 'O': 0}, strategies=('ferromagnetic', 'antiferromagnetic'),
                                       truncate_by_symmetry=True, transformation_kwargs={'min_cell_size': 1, 'max_cell_size': 1})

limno2_contcar.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsymmetrySpace groups and the like

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions