Skip to content

Commit 19f53e4

Browse files
committed
More flakiness (NO_JIRA)
1 parent 9fd3ceb commit 19f53e4

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

notebooks/ccdc_notebook_utilities/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
#
88
# 2022-05-17: created by Jason Cole, The Cambridge Crystallographic Data Centre
99
#
10-
from .run_hermes import run_hermes # noqa: F401
11-
from .create_logger import create_logger # noqa: F401
10+
from .run_hermes import run_hermes # noqa: F401
11+
from .create_logger import create_logger # noqa: F401

notebooks/ccdc_notebook_utilities/create_logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def create_logger(verbose=True):
1919
From inside a notebook, create a logger and log starting information
2020
"""
2121

22-
logger=logging.getLogger(__name__)
23-
handler=logging.StreamHandler()
22+
logger = logging.getLogger(__name__)
23+
handler = logging.StreamHandler()
2424
handler.setFormatter(logging.Formatter('[%(asctime)s %(levelname)-7s] %(message)s', datefmt='%y-%m-%d %H:%M:%S'))
2525
logger.addHandler(handler)
2626
logger.setLevel(logging.INFO)

notebooks/ccdc_notebook_utilities/run_hermes.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
from platform import platform
1414
from subprocess import Popen
1515

16-
"""
17-
From inside a notebook, run CCDC Hermes utility or fail if we cant find it. Assumes the
18-
software is installed alongside the data folder currently.
19-
"""
2016
def run_hermes(*filenames):
21-
17+
"""
18+
From inside a notebook, run CCDC Hermes utility or fail if we cant find it. Assumes the
19+
software is installed alongside the data folder currently.
20+
"""
21+
22+
2223
try:
2324
hermes_dir = Path(csd_directory()) / '..' / '..' / 'ccdc-software' / 'hermes'
2425
hermes_exe = (hermes_dir / 'hermes.exe' if platform().startswith('Windows') else hermes_dir / 'hermes').as_posix()

0 commit comments

Comments
 (0)