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 Oct 7, 2022
1 parent 922b775 commit a543592
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pymatgen/analysis/diffusion/neb/full_path_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,15 @@ def get_structure_from_entries(
base_entries.append(ient)

if len(base_entries) == 0:
logger.debug(f"No base entries found among {[ient.composition.formula for ient in entries]}, make sure you include one.")
logger.debug(
f"No base entries found among {[ient.composition.formula for ient in entries]}, make sure you include one."
)
return []

if len(inserted_entries) == 0:
logger.debug(f"No inserted entries found among {[ient.composition.formula for ient in entries]}, make sure you include one.")
logger.debug(
f"No inserted entries found among {[ient.composition.formula for ient in entries]}, make sure you include one."
)
return []

l_base_and_inserted = process_entries(
Expand Down

0 comments on commit a543592

Please sign in to comment.