Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zdcao121 authored Mar 19, 2024
1 parent adc08a3 commit b13e1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def process_one(cif, atom_types, wyck_types, n_max, tol=0.01):
A: atom types
W: wyckoff letters
"""
crystal = Structure.from_str(cif, fmt='cif')
crystal = Structure.from_str(cif, fmt='cif', primitive=True)
spga = SpacegroupAnalyzer(crystal, symprec=tol)
crystal = spga.get_refined_structure()
c = pyxtal()
Expand Down

0 comments on commit b13e1fd

Please sign in to comment.