Skip to content

Commit

Permalink
ran pre-commit to fix qa failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannduma committed Aug 22, 2024
1 parent b9a303a commit e90a23b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smact/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e90a23b

Please sign in to comment.