Skip to content

Commit 5c75599

Browse files
committed
downgrade back to python 3.9
1 parent d6c7617 commit 5c75599

File tree

2 files changed

+43
-28
lines changed

2 files changed

+43
-28
lines changed

docs/visualization/visualize_neuropixels_probes.ipynb

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@
4444
"source": [
4545
"import numpy as np\n",
4646
"\n",
47-
"from ccfwidget import CCFWidget"
47+
"from ccfwidget import CCFWidget\n",
48+
"\n",
49+
"# required because CCFwidgets is not using latest version of collections.abc\n",
50+
"import collections\n",
51+
"import collections.abc\n",
52+
"collections.Sequence = collections.abc.Sequence"
4853
]
4954
},
5055
{
@@ -72,13 +77,6 @@
7277
"execution_count": 4,
7378
"metadata": {},
7479
"outputs": [
75-
{
76-
"name": "stderr",
77-
"output_type": "stream",
78-
"text": [
79-
"A newer version (0.62.2) of dandi/dandi-cli is available. You are using 0.61.2\n"
80-
]
81-
},
8280
{
8381
"name": "stdout",
8482
"output_type": "stream",
@@ -157,31 +155,48 @@
157155
{
158156
"cell_type": "code",
159157
"execution_count": 7,
160-
"metadata": {},
161-
"outputs": [],
158+
"metadata": {
159+
"tags": [
160+
"skip-execution"
161+
]
162+
},
163+
"outputs": [
164+
{
165+
"ename": "",
166+
"evalue": "",
167+
"output_type": "error",
168+
"traceback": [
169+
"\u001b[1;31mThe Kernel crashed while executing code in the current cell or a previous cell. \n",
170+
"\u001b[1;31mPlease review the code in the cell(s) to identify a possible cause of the failure. \n",
171+
"\u001b[1;31mClick <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. \n",
172+
"\u001b[1;31mView Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
173+
]
174+
}
175+
],
162176
"source": [
163177
"# the 'markers' parameter will expect an iterable where each point is represented as [x,y,z]\n",
164178
"ccf = CCFWidget(markers=[points])"
165179
]
166180
},
167181
{
168182
"cell_type": "code",
169-
"execution_count": 8,
170-
"metadata": {},
183+
"execution_count": 1,
184+
"metadata": {
185+
"tags": [
186+
"skip-execution"
187+
]
188+
},
171189
"outputs": [
172190
{
173-
"data": {
174-
"application/vnd.jupyter.widget-view+json": {
175-
"model_id": "683c4a818ea14ff69df65c1d0d563866",
176-
"version_major": 2,
177-
"version_minor": 0
178-
},
179-
"text/plain": [
180-
"CCFWidget(children=(VBox(children=(Viewer(background=(0.85, 0.85, 0.85), camera=array([[ 1.3441567e+03, -2.172…"
181-
]
182-
},
183-
"metadata": {},
184-
"output_type": "display_data"
191+
"ename": "NameError",
192+
"evalue": "name 'ccf' is not defined",
193+
"output_type": "error",
194+
"traceback": [
195+
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
196+
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
197+
"Cell \u001b[1;32mIn[1], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[43mccf\u001b[49m\n",
198+
"\u001b[1;31mNameError\u001b[0m: name 'ccf' is not defined"
199+
]
185200
}
186201
],
187202
"source": [
@@ -191,7 +206,7 @@
191206
],
192207
"metadata": {
193208
"kernelspec": {
194-
"display_name": "Python 3 (ipykernel)",
209+
"display_name": "Python 3",
195210
"language": "python",
196211
"name": "python3"
197212
},
@@ -205,7 +220,7 @@
205220
"name": "python",
206221
"nbconvert_exporter": "python",
207222
"pygments_lexer": "ipython3",
208-
"version": "3.10.8"
223+
"version": "3.9.13"
209224
}
210225
},
211226
"nbformat": 4,

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ pynwb==2.6.0
2323
pytest-xdist==3.5.0
2424
quantities==0.14.1
2525
remfile==0.1.10
26-
scikit-image==0.25
27-
scipy==1.15
26+
scikit-image==0.24
27+
scipy==1.13.1
2828
# ssm @ git+https://github.com/lindermanlab/ssm
2929
statsmodels==0.14.0
3030
suite2p==0.14

0 commit comments

Comments
 (0)