Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2023
1 parent cb90339 commit 99b4c4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymatgen/analysis/diffusion/neb/full_path_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def unique_hops(self):
return {d["hop_label"]: d for u, v, d in ihop_data}

@classmethod
def with_base_structure(cls, base_structure: Structure, m_graph: StructureGraph, **kwargs) -> "MigrationGraph":
def with_base_structure(cls, base_structure: Structure, m_graph: StructureGraph, **kwargs) -> MigrationGraph:
"""
Args:
base_structure: base framework structure that does not contain any
Expand All @@ -174,7 +174,7 @@ def with_base_structure(cls, base_structure: Structure, m_graph: StructureGraph,
@classmethod
def with_local_env_strategy(
cls, structure: Structure, migrating_specie: str, nn: NearNeighbors, **kwargs
) -> "MigrationGraph":
) -> MigrationGraph:
"""
Using a specific nn strategy to get the connectivity graph between all the migrating ion sites.
Args:
Expand All @@ -191,7 +191,7 @@ def with_local_env_strategy(
@classmethod
def with_distance(
cls, structure: Structure, migrating_specie: str, max_distance: float, **kwargs
) -> "MigrationGraph":
) -> MigrationGraph:
"""
Using a specific nn strategy to get the connectivity graph between all the migrating ion sites.
Args:
Expand Down

0 comments on commit 99b4c4a

Please sign in to comment.