From a5435920b6b7f33d53674d1250745b765ed4251d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 7 Oct 2022 22:21:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pymatgen/analysis/diffusion/neb/full_path_mapper.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pymatgen/analysis/diffusion/neb/full_path_mapper.py b/pymatgen/analysis/diffusion/neb/full_path_mapper.py index 028ec1b..77b5dac 100644 --- a/pymatgen/analysis/diffusion/neb/full_path_mapper.py +++ b/pymatgen/analysis/diffusion/neb/full_path_mapper.py @@ -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(