Skip to content

Commit 88d4fb6

Browse files
committed
add cell to supress download outputs
1 parent c507537 commit 88d4fb6

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

examples/loading_data/loading_widefield_data.ipynb

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@
1010
"Imaging data recorded using widefield"
1111
]
1212
},
13+
{
14+
"cell_type": "code",
15+
"execution_count": null,
16+
"id": "73a17c3a",
17+
"metadata": {
18+
"nbsphinx": "hidden"
19+
},
20+
"outputs": [],
21+
"source": [
22+
"# Turn off logging and disable tqdm this is a hidden cell on docs page\n",
23+
"import logging\n",
24+
"import os\n",
25+
"\n",
26+
"logger = logging.getLogger('ibllib')\n",
27+
"logger.setLevel(logging.CRITICAL)\n",
28+
"\n",
29+
"os.environ[\"TQDM_DISABLE\"] = \"1\""
30+
]
31+
},
1332
{
1433
"cell_type": "markdown",
1534
"id": "135569e0",
@@ -66,7 +85,7 @@
6685
],
6786
"source": [
6887
"from one.api import ONE\n",
69-
"one = ONE(base_url='https://openalyx.internationalbrainlab.org')\n",
88+
"one = ONE()\n",
7089
"sessions = one.search(dataset='widefieldU.images.npy')\n",
7190
"print(f'{len(sessions)} sessions with widefield data found')"
7291
]
@@ -189,6 +208,7 @@
189208
}
190209
],
191210
"metadata": {
211+
"celltoolbar": "Edit Metadata",
192212
"kernelspec": {
193213
"display_name": "Python 3 (ipykernel)",
194214
"language": "python",

0 commit comments

Comments
 (0)