We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from pymatgen.analysis.structure_analyzer import SpacegroupAnalyzer from pymatgen.core import Lattice, Structure structure = Structure( lattice=Lattice.cubic(3), species=("Fe", "Fe"), coords=((0, 0, 0), (0.5, 0.5, 0.5)), ) symmetrized_structure = SpacegroupAnalyzer(structure).get_symmetrized_structure() symmetrized_structure.to("dummy.json")
raises
TypeError: Object of type SymmOp is not JSON serializable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
raises
The text was updated successfully, but these errors were encountered: