Skip to content

Commit

Permalink
docs: add metadata flags to notebook cells
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Feb 2, 2024
1 parent 1f377e1 commit fefcb37
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
19 changes: 19 additions & 0 deletions examples/atlas_dorsal_cortex_flatmap.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"cells": [
{
"cell_type": "code",
"outputs": [],
"source": [
"# Turn off logging and disable tqdm this is a hidden cell on docs page\n",
"import logging\n",
"import os\n",
"\n",
"logger = logging.getLogger('ibllib')\n",
"logger.setLevel(logging.CRITICAL)\n",
"\n",
"os.environ[\"TQDM_DISABLE\"] = \"1\""
],
"metadata": {
"nbsphinx": "hidden",
"collapsed": false
},
"id": "5711974f8dd963cd"
},
{
"cell_type": "markdown",
"id": "fdc19afd",
Expand Down
6 changes: 4 additions & 2 deletions examples/atlas_genomics_load_agea.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"execution_count": null,
"id": "initial_id",
"metadata": {
"collapsed": true
"collapsed": true,
"ibl_execute": false,
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -51,7 +52,8 @@
"fig.tight_layout()"
],
"metadata": {
"collapsed": false
"collapsed": false,
"ibl_execute": false,
},
"id": "d05447d166c56453"
},
Expand Down
19 changes: 19 additions & 0 deletions examples/atlas_swanson_flatmap.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"cells": [
{
"cell_type": "code",
"outputs": [],
"source": [
"# Turn off logging and disable tqdm this is a hidden cell on docs page\n",
"import logging\n",
"import os\n",
"\n",
"logger = logging.getLogger('ibllib')\n",
"logger.setLevel(logging.CRITICAL)\n",
"\n",
"os.environ[\"TQDM_DISABLE\"] = \"1\""
],
"metadata": {
"nbsphinx": "hidden",
"collapsed": false
},
"id": "5711974f8dd963cd"
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit fefcb37

Please sign in to comment.