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 Jul 4, 2023
1 parent 3ec0f76 commit de67a84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openff/toolkit/utils/rdkit_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,9 +987,7 @@ def _fuzzy_query(query, strict_degree=False):
Chem.AtomFromSmarts(f"[#{a.GetAtomicNum()}D{a.GetDegree()}]")
)
else:
a.SetQuery(
generic_mol.GetAtomWithIdx(a.GetAtomicNum())
)
a.SetQuery(generic_mol.GetAtomWithIdx(a.GetAtomicNum()))
a.SetNoImplicit(True)
if a.GetAtomicNum() == 0:
neighbor_idxs.append(idx)
Expand Down

0 comments on commit de67a84

Please sign in to comment.