Skip to content

Commit

Permalink
update visualization cells
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov committed Aug 6, 2024
1 parent 834cc08 commit 94b888c
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions notebooks/collections_demos/prostate-MRI_hiplot_experiments.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"colab": {
"provenance": [],
"toc_visible": true,
"authorship_tag": "ABX9TyO4XqnB1lmQp1ryisGHcXVr",
"authorship_tag": "ABX9TyPmJ4i9ybO1blpsixLw3dAY",
"include_colab_link": true
},
"kernelspec": {
Expand Down Expand Up @@ -734,7 +734,9 @@
"\n",
"Authored by Andrey Fedorov and Deepa Krishnaswamy\n",
"\n",
"Initial version: February 2024"
"Initial version: February 2024\n",
"\n",
"Updated: August 2024"
],
"metadata": {
"id": "qIGRc4aUP6rk"
Expand Down Expand Up @@ -1204,33 +1206,28 @@
"series_url = c.get_viewer_URL(seriesInstanceUID=series_instance_uid)\n",
"study_url = series_url.split(\"?\")[0]\n",
"\n",
"from IPython.display import HTML\n",
"HTML(f'Study URL: <a href=\"{study_url}\">{study_url}</a><br>Series URL: <a href=\"{series_url}\">{series_url}</a>'+'<br>'*50)"
"# view entire study\n",
"from IPython.display import IFrame\n",
"IFrame(study_url, width=1600, height=900)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 902
},
"id": "haEA8KMmhWEp",
"outputId": "1f159f90-2c3c-45da-9d55-50a95216a3c2"
"id": "haEA8KMmhWEp"
},
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"<IPython.core.display.HTML object>"
],
"text/html": [
"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>"
]
},
"metadata": {},
"execution_count": 11
}
]
"outputs": []
},
{
"cell_type": "code",
"source": [
"# view selected series only\n",
"from IPython.display import IFrame\n",
"IFrame(series_url, width=1600, height=900)"
],
"metadata": {
"id": "rIlwly5wcTA2"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
Expand Down

0 comments on commit 94b888c

Please sign in to comment.