Skip to content

Commit 49b0f98

Browse files
committed
Just a little more (NO_JIRA)
1 parent 19f53e4 commit 49b0f98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

notebooks/ccdc_notebook_utilities/create_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def create_logger(verbose=True):
1818
"""
1919
From inside a notebook, create a logger and log starting information
2020
"""
21-
21+
2222
logger = logging.getLogger(__name__)
2323
handler = logging.StreamHandler()
2424
handler.setFormatter(logging.Formatter('[%(asctime)s %(levelname)-7s] %(message)s', datefmt='%y-%m-%d %H:%M:%S'))

notebooks/ccdc_notebook_utilities/run_hermes.py

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

16+
1617
def run_hermes(*filenames):
1718
"""
1819
From inside a notebook, run CCDC Hermes utility or fail if we cant find it. Assumes the
1920
software is installed alongside the data folder currently.
2021
"""
21-
22-
22+
2323
try:
2424
hermes_dir = Path(csd_directory()) / '..' / '..' / 'ccdc-software' / 'hermes'
2525
hermes_exe = (hermes_dir / 'hermes.exe' if platform().startswith('Windows') else hermes_dir / 'hermes').as_posix()
2626
_ = Popen([hermes_exe, *filenames], creationflags=0x00000008)
2727
except Exception as e:
28-
print( f"Couldnt run Hermes {e}")
28+
print(f"Couldnt run Hermes {e}")

0 commit comments

Comments
 (0)