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 e327e05 commit 022401a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openff/toolkit/utils/rdkit_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1592,8 +1592,8 @@ 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#explicit-valence-and-number-of-hydrogens
# This method is also used in GetTotalNumHs, which returns
# GetNumImplicitHs() + GetNumExplicitHs() + Optionally the number of
# This method is also used in GetTotalNumHs, which returns
# GetNumImplicitHs() + GetNumExplicitHs() + Optionally the number of
# neighboring hydrogens in the molecular graph.
# (see the cookbook link above for more details)
elif atom.GetNumExplicitHs() != 0:
Expand Down

0 comments on commit 022401a

Please sign in to comment.