Skip to content

Commit

Permalink
run pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Oct 7, 2024
1 parent abd6d7c commit 0934011
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion openff/qcsubmit/_tests/results/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
TorsionDriveResultCollection,
)
from openff.qcsubmit.results.filters import ResultFilter
from openff.qcsubmit.results.results import MissingCMILESWarning, TorsionDriveResult, _BaseResultCollection
from openff.qcsubmit.results.results import (
MissingCMILESWarning,
TorsionDriveResult,
_BaseResultCollection,
)
from openff.qcsubmit.utils import _CachedPortalClient, portal_client_manager

from . import (
Expand Down
8 changes: 6 additions & 2 deletions openff/qcsubmit/results/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ def from_datasets(
"canonical_isomeric_explicit_hydrogen_mapped_smiles"
)
if not cmiles:
warnings.warn(f"MISSING CMILES! entry = {entry_name}", MissingCMILESWarning)
warnings.warn(
f"MISSING CMILES! entry = {entry_name}", MissingCMILESWarning
)
continue

inchi_key = entry.attributes.get("fixed_hydrogen_inchi_key")
Expand Down Expand Up @@ -479,7 +481,9 @@ def from_datasets(
"canonical_isomeric_explicit_hydrogen_mapped_smiles"
)
if not cmiles:
warnings.warn(f"MISSING CMILES! entry = {entry_name}", MissingCMILESWarning)
warnings.warn(
f"MISSING CMILES! entry = {entry_name}", MissingCMILESWarning
)
continue

inchi_key = entry.attributes.get("fixed_hydrogen_inchi_key")
Expand Down

0 comments on commit 0934011

Please sign in to comment.