From 54ff216ba0a8aee717f0cc58403e913c3d622886 Mon Sep 17 00:00:00 2001
From: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Date: Thu, 23 Jan 2020 13:42:10 +0100
Subject: [PATCH] fix ffmpeg check in tests

---
 doc/notebooks/01_tutorial_getting_started.ipynb | 9 ++++-----
 doc/notebooks/demo_plotting_and_animation.ipynb | 4 +++-
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/doc/notebooks/01_tutorial_getting_started.ipynb b/doc/notebooks/01_tutorial_getting_started.ipynb
index 0d5e83787..70b3c2a8a 100644
--- a/doc/notebooks/01_tutorial_getting_started.ipynb
+++ b/doc/notebooks/01_tutorial_getting_started.ipynb
@@ -965,11 +965,10 @@
     }
    ],
    "source": [
-    "if img:\n",
-    "    filtered_image = np.zeros_like(img[..., 0])\n",
-    "    # here we call the compiled stencil function\n",
-    "    compiled_kernel(img=img, dst=filtered_image, w_2=0.5)\n",
-    "    plt.imshow(filtered_image, cmap='gray');"
+    "filtered_image = np.zeros_like(img[..., 0])\n",
+    "# here we call the compiled stencil function\n",
+    "compiled_kernel(img=img, dst=filtered_image, w_2=0.5)\n",
+    "plt.imshow(filtered_image, cmap='gray');"
    ]
   },
   {
diff --git a/doc/notebooks/demo_plotting_and_animation.ipynb b/doc/notebooks/demo_plotting_and_animation.ipynb
index 732f33bd0..13d658a9c 100644
--- a/doc/notebooks/demo_plotting_and_animation.ipynb
+++ b/doc/notebooks/demo_plotting_and_animation.ipynb
@@ -6,7 +6,9 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "from pystencils.session import *"
+    "from pystencils.session import *\n",
+    "\n",
+    "import shutil"
    ]
   },
   {
-- 
GitLab