Skip to content

Commit

Permalink
Remove type hints for mypy in bonds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Munro committed Sep 23, 2021
1 parent 4a725c0 commit 24b9379
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions emmet-core/emmet/core/bonds.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@ class BondingDoc(PropertyDoc):
)

@classmethod
def from_structure(
cls,
structure: Structure,
material_id: MPID,
preferred_methods: List[Union[str, NearNeighbors]] = ("CrystalNN", "MinimumDistanceNN",),
**kwargs
):
def from_structure(cls, structure, material_id, preferred_methods=("CrystalNN", "MinimumDistanceNN",), **kwargs):
"""
Calculate
Expand Down

0 comments on commit 24b9379

Please sign in to comment.