Skip to content

Commit 94b888c

Browse files
committed
update visualization cells
1 parent 834cc08 commit 94b888c

File tree

1 file changed

+22
-25
lines changed

1 file changed

+22
-25
lines changed

notebooks/collections_demos/prostate-MRI_hiplot_experiments.ipynb

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"colab": {
66
"provenance": [],
77
"toc_visible": true,
8-
"authorship_tag": "ABX9TyO4XqnB1lmQp1ryisGHcXVr",
8+
"authorship_tag": "ABX9TyPmJ4i9ybO1blpsixLw3dAY",
99
"include_colab_link": true
1010
},
1111
"kernelspec": {
@@ -734,7 +734,9 @@
734734
"\n",
735735
"Authored by Andrey Fedorov and Deepa Krishnaswamy\n",
736736
"\n",
737-
"Initial version: February 2024"
737+
"Initial version: February 2024\n",
738+
"\n",
739+
"Updated: August 2024"
738740
],
739741
"metadata": {
740742
"id": "qIGRc4aUP6rk"
@@ -1204,33 +1206,28 @@
12041206
"series_url = c.get_viewer_URL(seriesInstanceUID=series_instance_uid)\n",
12051207
"study_url = series_url.split(\"?\")[0]\n",
12061208
"\n",
1207-
"from IPython.display import HTML\n",
1208-
"HTML(f'Study URL: <a href=\"{study_url}\">{study_url}</a><br>Series URL: <a href=\"{series_url}\">{series_url}</a>'+'<br>'*50)"
1209+
"# view entire study\n",
1210+
"from IPython.display import IFrame\n",
1211+
"IFrame(study_url, width=1600, height=900)"
12091212
],
12101213
"metadata": {
1211-
"colab": {
1212-
"base_uri": "https://localhost:8080/",
1213-
"height": 902
1214-
},
1215-
"id": "haEA8KMmhWEp",
1216-
"outputId": "1f159f90-2c3c-45da-9d55-50a95216a3c2"
1214+
"id": "haEA8KMmhWEp"
12171215
},
12181216
"execution_count": null,
1219-
"outputs": [
1220-
{
1221-
"output_type": "execute_result",
1222-
"data": {
1223-
"text/plain": [
1224-
"<IPython.core.display.HTML object>"
1225-
],
1226-
"text/html": [
1227-
"Study URL: <a href=\"https://viewer.imaging.datacommons.cancer.gov/viewer/1.3.6.1.4.1.14519.5.2.1.3983.4006.178756877618396339373024634211\">https://viewer.imaging.datacommons.cancer.gov/viewer/1.3.6.1.4.1.14519.5.2.1.3983.4006.178756877618396339373024634211</a><br>Series URL: <a href=\"https://viewer.imaging.datacommons.cancer.gov/viewer/1.3.6.1.4.1.14519.5.2.1.3983.4006.178756877618396339373024634211?SeriesInstanceUID=1.3.6.1.4.1.14519.5.2.1.3983.4006.185971477634236436836567638064\">https://viewer.imaging.datacommons.cancer.gov/viewer/1.3.6.1.4.1.14519.5.2.1.3983.4006.178756877618396339373024634211?SeriesInstanceUID=1.3.6.1.4.1.14519.5.2.1.3983.4006.185971477634236436836567638064</a><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>"
1228-
]
1229-
},
1230-
"metadata": {},
1231-
"execution_count": 11
1232-
}
1233-
]
1217+
"outputs": []
1218+
},
1219+
{
1220+
"cell_type": "code",
1221+
"source": [
1222+
"# view selected series only\n",
1223+
"from IPython.display import IFrame\n",
1224+
"IFrame(series_url, width=1600, height=900)"
1225+
],
1226+
"metadata": {
1227+
"id": "rIlwly5wcTA2"
1228+
},
1229+
"execution_count": null,
1230+
"outputs": []
12341231
},
12351232
{
12361233
"cell_type": "markdown",

0 commit comments

Comments
 (0)