Skip to content

Commit

Permalink
avoid pyshtool in readthedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Aug 29, 2024
1 parent bdc0742 commit 8ad839f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

sys.path.insert(0, os.path.abspath("../"))
# List of modules to mock
MOCK_MODULES = ['torchani', 'lammps']
MOCK_MODULES = ['torchani', 'lammps', 'pyshtools']

class Mock(MagicMock):
@classmethod
Expand Down
9 changes: 3 additions & 6 deletions pyxtal/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,12 +824,9 @@ def clean_structures(self, ids=(None, None), dtol=2e-3, etol=1e-3, criteria=None

def clean_structures_pmg(self, ids=(None, None), min_id=None, dtol=5e-2, criteria=None):
"""
Clean up the db by removing the duplicate structures
Here we check the follow criteria
- same density
- pymatgen check
criteria should look like the following,
Clean up the db by removing the duplicate structures.
Here we check the follow criteria same density and pymatgen matcher.
The criteria should look like the following,
{'CN': {'C': 3},
'cutoff': 1.8,
'MAX_energy': -8.00,
Expand Down

0 comments on commit 8ad839f

Please sign in to comment.