From 34c93e19e2c1d12f63767bfd8136bbd4bb989b64 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Sat, 7 Sep 2024 16:22:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laminci/_run_notebooks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/laminci/_run_notebooks.py b/laminci/_run_notebooks.py index 5bfdcb9..d72dc28 100644 --- a/laminci/_run_notebooks.py +++ b/laminci/_run_notebooks.py @@ -6,4 +6,6 @@ def run_notebooks(file_or_folder: str | Path): import nbproject_test - nbproject_test.execute_notebooks(Path(file_or_folder), write=True) + path = Path(file_or_folder) + assert path.exists() + nbproject_test.execute_notebooks(path.resolve(), write=True)