Skip to content

Commit

Permalink
Merge pull request #276 from hjkgrp/mof
Browse files Browse the repository at this point in the history
fixed get_primitive function in MOF_descriptors
  • Loading branch information
husainadamji authored Oct 24, 2024
2 parents 284906a + bd957c1 commit fcc7f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molSimplify/Informatics/MOF/MOF_descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_primitive(datapath, writepath, occupancy_tolerance=1):
from pymatgen.io.cif import CifParser
s = CifParser(datapath, occupancy_tolerance=occupancy_tolerance).get_structures()[0]
sprim = s.get_primitive_structure()
sprim.to(writepath, "cif") # Output structure to a file.
sprim.to("cif", writepath) # Output structure to a file.


'''<<<< END OF CODE TO COMPUTE PRIMITIVE UNIT CELLS >>>>'''
Expand Down

0 comments on commit fcc7f20

Please sign in to comment.