|
5 | 5 | "colab": {
|
6 | 6 | "provenance": [],
|
7 | 7 | "toc_visible": true,
|
8 |
| - "authorship_tag": "ABX9TyO4XqnB1lmQp1ryisGHcXVr", |
| 8 | + "authorship_tag": "ABX9TyPmJ4i9ybO1blpsixLw3dAY", |
9 | 9 | "include_colab_link": true
|
10 | 10 | },
|
11 | 11 | "kernelspec": {
|
|
734 | 734 | "\n",
|
735 | 735 | "Authored by Andrey Fedorov and Deepa Krishnaswamy\n",
|
736 | 736 | "\n",
|
737 |
| - "Initial version: February 2024" |
| 737 | + "Initial version: February 2024\n", |
| 738 | + "\n", |
| 739 | + "Updated: August 2024" |
738 | 740 | ],
|
739 | 741 | "metadata": {
|
740 | 742 | "id": "qIGRc4aUP6rk"
|
|
1204 | 1206 | "series_url = c.get_viewer_URL(seriesInstanceUID=series_instance_uid)\n",
|
1205 | 1207 | "study_url = series_url.split(\"?\")[0]\n",
|
1206 | 1208 | "\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)" |
1209 | 1212 | ],
|
1210 | 1213 | "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" |
1217 | 1215 | },
|
1218 | 1216 | "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": [] |
1234 | 1231 | },
|
1235 | 1232 | {
|
1236 | 1233 | "cell_type": "markdown",
|
|
0 commit comments