|
2 | 2 | "cells": [
|
3 | 3 | {
|
4 | 4 | "cell_type": "code",
|
5 |
| - "execution_count": null, |
6 |
| - "id": "8913ae6f-16cd-4c33-878d-b5e0d0cb279b", |
| 5 | + "execution_count": 1, |
| 6 | + "id": "58a52b59-65f1-4876-aa1e-f5d823fe996d", |
7 | 7 | "metadata": {},
|
8 | 8 | "outputs": [],
|
9 | 9 | "source": [
|
|
12 | 12 | },
|
13 | 13 | {
|
14 | 14 | "cell_type": "code",
|
15 |
| - "execution_count": null, |
| 15 | + "execution_count": 2, |
16 | 16 | "id": "1ef25860-fb82-4d99-917a-6da0c3366767",
|
17 | 17 | "metadata": {
|
18 | 18 | "scrolled": true
|
19 | 19 | },
|
20 |
| - "outputs": [], |
| 20 | + "outputs": [ |
| 21 | + { |
| 22 | + "name": "stdout", |
| 23 | + "output_type": "stream", |
| 24 | + "text": [ |
| 25 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 26 | + "Image path changed: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 27 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 28 | + "Updated imagePath: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif, is_imagePath_url: False\n", |
| 29 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples\n", |
| 30 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples\n" |
| 31 | + ] |
| 32 | + }, |
| 33 | + { |
| 34 | + "data": { |
| 35 | + "application/vnd.jupyter.widget-view+json": { |
| 36 | + "model_id": "73ea462ca38f4438aab886edd8102c28", |
| 37 | + "version_major": 2, |
| 38 | + "version_minor": 0 |
| 39 | + }, |
| 40 | + "text/plain": [ |
| 41 | + "Render(imagePath='/Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../…" |
| 42 | + ] |
| 43 | + }, |
| 44 | + "execution_count": 2, |
| 45 | + "metadata": {}, |
| 46 | + "output_type": "execute_result" |
| 47 | + } |
| 48 | + ], |
21 | 49 | "source": [
|
22 | 50 | "Render(imagePath = '../images/LuCa-7color_3x3component_data.ome.tif')"
|
23 | 51 | ]
|
|
26 | 54 | "cell_type": "code",
|
27 | 55 | "execution_count": null,
|
28 | 56 | "id": "e2e879af",
|
29 |
| - "metadata": {}, |
| 57 | + "metadata": { |
| 58 | + "scrolled": true |
| 59 | + }, |
30 | 60 | "outputs": [],
|
31 | 61 | "source": [
|
32 | 62 | "Render(imagePath = 'https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif')"
|
33 | 63 | ]
|
34 | 64 | },
|
35 | 65 | {
|
36 | 66 | "cell_type": "code",
|
37 |
| - "execution_count": null, |
| 67 | + "execution_count": 3, |
38 | 68 | "id": "520ef52e-2f81-4c52-9c2f-c858e82d59e4",
|
39 | 69 | "metadata": {},
|
40 |
| - "outputs": [], |
| 70 | + "outputs": [ |
| 71 | + { |
| 72 | + "name": "stdout", |
| 73 | + "output_type": "stream", |
| 74 | + "text": [ |
| 75 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 76 | + "Image path changed: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 77 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif\n", |
| 78 | + "Updated imagePath: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../images/LuCa-7color_3x3component_data.ome.tif, is_imagePath_url: False\n", |
| 79 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples\n", |
| 80 | + "Path is a local file: /Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples\n" |
| 81 | + ] |
| 82 | + } |
| 83 | + ], |
41 | 84 | "source": [
|
42 | 85 | "r = Render(imagePath = '../images/LuCa-7color_3x3component_data.ome.tif')"
|
43 | 86 | ]
|
44 | 87 | },
|
45 | 88 | {
|
46 | 89 | "cell_type": "code",
|
47 |
| - "execution_count": null, |
| 90 | + "execution_count": 4, |
48 | 91 | "id": "a3eaa802-f2ed-4ee4-8191-7c0befb89ca8",
|
49 | 92 | "metadata": {},
|
50 |
| - "outputs": [], |
| 93 | + "outputs": [ |
| 94 | + { |
| 95 | + "data": { |
| 96 | + "text/plain": [ |
| 97 | + "False" |
| 98 | + ] |
| 99 | + }, |
| 100 | + "execution_count": 4, |
| 101 | + "metadata": {}, |
| 102 | + "output_type": "execute_result" |
| 103 | + } |
| 104 | + ], |
51 | 105 | "source": [
|
52 | 106 | "r.is_imagePath_url"
|
53 | 107 | ]
|
54 | 108 | },
|
55 | 109 | {
|
56 | 110 | "cell_type": "code",
|
57 |
| - "execution_count": null, |
| 111 | + "execution_count": 5, |
58 | 112 | "id": "a8f1218a-a189-4542-9ee4-4fca5b0c86bd",
|
59 |
| - "metadata": {}, |
60 |
| - "outputs": [], |
| 113 | + "metadata": { |
| 114 | + "scrolled": true |
| 115 | + }, |
| 116 | + "outputs": [ |
| 117 | + { |
| 118 | + "data": { |
| 119 | + "application/vnd.jupyter.widget-view+json": { |
| 120 | + "model_id": "4c6d4246e4464cd28c307cf66471f605", |
| 121 | + "version_major": 2, |
| 122 | + "version_minor": 0 |
| 123 | + }, |
| 124 | + "text/plain": [ |
| 125 | + "Render(imagePath='/Users/sainia2/Documents/pj/forks/jupyterlab-extensions/jupyterlab_polus_render/examples/../…" |
| 126 | + ] |
| 127 | + }, |
| 128 | + "execution_count": 5, |
| 129 | + "metadata": {}, |
| 130 | + "output_type": "execute_result" |
| 131 | + } |
| 132 | + ], |
61 | 133 | "source": [
|
62 | 134 | "r"
|
63 | 135 | ]
|
64 | 136 | },
|
65 | 137 | {
|
66 | 138 | "cell_type": "code",
|
67 |
| - "execution_count": null, |
| 139 | + "execution_count": 6, |
68 | 140 | "id": "2f6aaf29-5a4f-4b2f-ac5a-4912097de53d",
|
69 | 141 | "metadata": {},
|
70 |
| - "outputs": [], |
| 142 | + "outputs": [ |
| 143 | + { |
| 144 | + "name": "stdout", |
| 145 | + "output_type": "stream", |
| 146 | + "text": [ |
| 147 | + "Image path changed: https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif\n", |
| 148 | + "Path is a URL: https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif\n", |
| 149 | + "Updated imagePath: https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif, is_imagePath_url: True\n" |
| 150 | + ] |
| 151 | + } |
| 152 | + ], |
71 | 153 | "source": [
|
72 | 154 | "r.imagePath = 'https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif'"
|
73 | 155 | ]
|
74 | 156 | },
|
75 | 157 | {
|
76 | 158 | "cell_type": "code",
|
77 |
| - "execution_count": null, |
| 159 | + "execution_count": 7, |
78 | 160 | "id": "7c6e6fe4-0133-4281-a1b6-f94227dceb1a",
|
79 | 161 | "metadata": {},
|
80 |
| - "outputs": [], |
| 162 | + "outputs": [ |
| 163 | + { |
| 164 | + "name": "stdout", |
| 165 | + "output_type": "stream", |
| 166 | + "text": [ |
| 167 | + "https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif\n" |
| 168 | + ] |
| 169 | + } |
| 170 | + ], |
81 | 171 | "source": [
|
82 | 172 | "print(r.imagePath)"
|
83 | 173 | ]
|
84 | 174 | },
|
85 | 175 | {
|
86 | 176 | "cell_type": "code",
|
87 |
| - "execution_count": null, |
| 177 | + "execution_count": 7, |
| 178 | + "id": "3fd3e203-23c5-4feb-ae08-0084e58c3567", |
| 179 | + "metadata": {}, |
| 180 | + "outputs": [ |
| 181 | + { |
| 182 | + "data": { |
| 183 | + "application/vnd.jupyter.widget-view+json": { |
| 184 | + "model_id": "a8992b381a57481ba866a87db9d5e4ad", |
| 185 | + "version_major": 2, |
| 186 | + "version_minor": 0 |
| 187 | + }, |
| 188 | + "text/plain": [ |
| 189 | + "Render(imagePath='https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif', is_imagePath_url=True, not…" |
| 190 | + ] |
| 191 | + }, |
| 192 | + "execution_count": 7, |
| 193 | + "metadata": {}, |
| 194 | + "output_type": "execute_result" |
| 195 | + } |
| 196 | + ], |
| 197 | + "source": [ |
| 198 | + "r" |
| 199 | + ] |
| 200 | + }, |
| 201 | + { |
| 202 | + "cell_type": "code", |
| 203 | + "execution_count": 8, |
88 | 204 | "id": "0f72b629-e855-4484-ae82-c4b5aaa73412",
|
89 | 205 | "metadata": {},
|
90 |
| - "outputs": [], |
| 206 | + "outputs": [ |
| 207 | + { |
| 208 | + "data": { |
| 209 | + "text/plain": [ |
| 210 | + "True" |
| 211 | + ] |
| 212 | + }, |
| 213 | + "execution_count": 8, |
| 214 | + "metadata": {}, |
| 215 | + "output_type": "execute_result" |
| 216 | + } |
| 217 | + ], |
91 | 218 | "source": [
|
92 | 219 | "r.is_imagePath_url"
|
93 | 220 | ]
|
94 | 221 | },
|
95 | 222 | {
|
96 | 223 | "cell_type": "code",
|
97 |
| - "execution_count": null, |
| 224 | + "execution_count": 9, |
98 | 225 | "id": "53735950-b176-47c5-835b-b18f084c46ca",
|
99 | 226 | "metadata": {},
|
100 | 227 | "outputs": [],
|
|
104 | 231 | },
|
105 | 232 | {
|
106 | 233 | "cell_type": "code",
|
107 |
| - "execution_count": null, |
| 234 | + "execution_count": 9, |
108 | 235 | "id": "71badd13-5989-4a4a-a1ec-5e2a3c54eb89",
|
109 |
| - "metadata": {}, |
110 |
| - "outputs": [], |
| 236 | + "metadata": { |
| 237 | + "scrolled": true |
| 238 | + }, |
| 239 | + "outputs": [ |
| 240 | + { |
| 241 | + "data": { |
| 242 | + "application/vnd.jupyter.widget-view+json": { |
| 243 | + "model_id": "93846c323cea4b17b5d800123c821a62", |
| 244 | + "version_major": 2, |
| 245 | + "version_minor": 0 |
| 246 | + }, |
| 247 | + "text/plain": [ |
| 248 | + "Render(base_url='/', imagePath='https://viv-demo.storage.googleapis.com/idr0106.pyramid.ome.tif', imageUrl='/j…" |
| 249 | + ] |
| 250 | + }, |
| 251 | + "execution_count": 9, |
| 252 | + "metadata": {}, |
| 253 | + "output_type": "execute_result" |
| 254 | + } |
| 255 | + ], |
111 | 256 | "source": [
|
112 | 257 | "r"
|
113 | 258 | ]
|
|
0 commit comments