Skip to content

Commit

Permalink
rm mineral matcher import
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis committed Sep 12, 2024
1 parent 5c26dd0 commit f51f71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions emmet-core/emmet/core/robocrys.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from pydantic import BaseModel, Field
from pymatgen.core.structure import Structure
from robocrys.condense.mineral import MineralMatcher

from emmet.core.material_property import PropertyDoc
from emmet.core.mpid import MPID
Expand Down Expand Up @@ -80,7 +79,7 @@ def from_structure(
structure: Structure,
material_id: MPID,
robocrys_version: str,
mineral_matcher: MineralMatcher | None = None,
mineral_matcher=None,
**kwargs
):
(
Expand Down
3 changes: 1 addition & 2 deletions emmet-core/emmet/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
DeformStructureTransformation,
)
from pymatgen.util.graph_hashing import weisfeiler_lehman_graph_hash
from robocrys.condense.mineral import MineralMatcher

from emmet.core.mpid import MPculeID
from emmet.core.settings import EmmetSettings
Expand Down Expand Up @@ -109,7 +108,7 @@ def undeform_structure(structure: Structure, transformations: Dict) -> Structure

def generate_robocrys_condensed_struct_and_description(
structure: Structure,
mineral_matcher: Optional[MineralMatcher] = None,
mineral_matcher=None,
symprecs: list[float] = [0.01, 0.1, 1.0e-3],
) -> tuple[dict[Any], str]:
"""
Expand Down

0 comments on commit f51f71f

Please sign in to comment.