From 458561a8f86e37ec3a73cfdc00ceec1557a85c03 Mon Sep 17 00:00:00 2001 From: Frank Harkins Date: Mon, 11 Dec 2023 12:48:22 +0000 Subject: [PATCH] Final bugfix (hopefully) --- scripts/nb-tester/test-notebook.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/nb-tester/test-notebook.py b/scripts/nb-tester/test-notebook.py index 02aba218a5..26653aad02 100644 --- a/scripts/nb-tester/test-notebook.py +++ b/scripts/nb-tester/test-notebook.py @@ -37,10 +37,11 @@ class ExecuteOptions: submit_jobs: bool -def execute_notebook(path: Path, options: ExecuteOptions) -> bool: +def execute_notebook(path: str, options: ExecuteOptions) -> bool: """ Wrapper function for `_execute_notebook` to print status """ + path = Path(path) if path.suffix != ".ipynb": print(f"⏭️ {path} is not a notebook; skipping") print(f"▶️ {path}", end="", flush=True)