From fed4ede8c6a67dab055fd19b2ce0bc73a64a307c Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Tue, 2 Jul 2024 18:25:09 +0200 Subject: [PATCH] Increase cell execution timeout --- docs/conf.py | 6 +++--- examples/PD_controller.ipynb | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4909deaec..54c40c97d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -103,7 +103,6 @@ "examples_dirs": "../examples", "gallery_dirs": "../generated_examples/", "doc_module": "jaxsim", - "abort_on_example_error": True, } # -- Options for myst ------------------------------------------------------- @@ -111,11 +110,12 @@ "amsmath", "dollarmath", ] -nb_execution_mode = "force" -nb_execution_allow_errors = False +nb_execution_mode = "auto" +nb_execution_raise_on_error = True nb_render_image_options = { "scale": "60", } +nb_execution_timeout = 180 source_suffix = [".rst", ".md", ".ipynb"] diff --git a/examples/PD_controller.ipynb b/examples/PD_controller.ipynb index 692e9258d..86435b7bc 100644 --- a/examples/PD_controller.ipynb +++ b/examples/PD_controller.ipynb @@ -154,8 +154,6 @@ "outputs": [], "source": [ "# @title Set up MuJoCo renderer\n", - "\n", - "import os\n", "import subprocess\n", "\n", "os.environ[\"MUJOCO_GL\"] = \"osmesa\"\n",