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 7, 2025
1 parent f605add commit 66c1c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openff/toolkit/utils/rdkit_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ def from_smiles(
# explicitly in the string but not present in the graph. This criteria would apply to
# hydrogens inside the brackets descibing a heavy atom, e.g. [NH+].
# https://www.rdkit.org/docs/Cookbook.html
# This method is also used in GetTotalNumHs() = GetNumImplicitHs() + GetNumExplicitHs()
# This method is also used in GetTotalNumHs() = GetNumImplicitHs() + GetNumExplicitHs()
# + Optional number of neighboring hydrogens in the molecular graph.
elif atom.GetNumExplicitHs() != 0:
raise ValueError(
Expand Down

0 comments on commit 66c1c8b

Please sign in to comment.