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)