Skip to content

Commit

Permalink
Merge pull request #585 from sezelt/cif_quickfix
Browse files Browse the repository at this point in the history
Change to how pymatgen imports CIFs
  • Loading branch information
bsavitzky authored Dec 11, 2023
2 parents 8408ea3 + d73e52f commit 64ac36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/process/diffraction/crystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def from_CIF(CIF, conventional_standard_structure=True):

parser = CifParser(CIF)

structure = parser.get_structures()[0]
structure = parser.get_structures(False)[0]

return Crystal.from_pymatgen_structure(
structure, conventional_standard_structure=conventional_standard_structure
Expand Down

0 comments on commit 64ac36a

Please sign in to comment.