From dbd68029ed3c7da8c7d5fffeb9e591854414df94 Mon Sep 17 00:00:00 2001 From: Ethan Lew Date: Sun, 10 Mar 2024 22:33:45 -0700 Subject: [PATCH] tmp: switch nbmake version, fix deep-koopman path --- .github/workflows/notebook.yml | 3 +-- notebooks/deep-koopman.ipynb | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/notebook.yml b/.github/workflows/notebook.yml index 6c02fe0..951eb7e 100644 --- a/.github/workflows/notebook.yml +++ b/.github/workflows/notebook.yml @@ -25,7 +25,6 @@ jobs: run: | pip install . conda install pytest - pip install nbmake==0.5 + pip install nbmake==1.5.3 pytest --nbmake "./notebooks/" - pytest diff --git a/notebooks/deep-koopman.ipynb b/notebooks/deep-koopman.ipynb index 9ac7cf3..2ce6f1f 100644 --- a/notebooks/deep-koopman.ipynb +++ b/notebooks/deep-koopman.ipynb @@ -96,6 +96,8 @@ "import matplotlib.pyplot as plt\n", "import numpy as np\n", "\n", + "import sys\n", + "sys.path.append(\"..\")\n", "# this is the convenience function\n", "from autokoopman import auto_koopman" ] @@ -248,7 +250,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.9.0" } }, "nbformat": 4,