From e90a23b29c9aa7a5bb8da77fabd48849eaf7a9be Mon Sep 17 00:00:00 2001 From: "Ryan (Ry) Napo Nduma" <54267734+ryannduma@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:12:41 +0100 Subject: [PATCH] ran pre-commit to fix qa failures --- smact/properties.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smact/properties.py b/smact/properties.py index 0845c27..87f3cfb 100644 --- a/smact/properties.py +++ b/smact/properties.py @@ -194,7 +194,9 @@ def get_element_valence(element: str) -> int: try: return smact.Element(element).num_valence_modified except AttributeError: - raise ValueError(f"Valence data not found for element: {element}") from None + raise ValueError( + f"Valence data not found for element: {element}" + ) from None element_stoich = parse_formula(compound)