diff --git a/examples/integrations/itk/IDC_Seg_Primer_Examples.ipynb b/examples/integrations/itk/IDC_Seg_Primer_Examples.ipynb index 2093a0ed..ad87864c 100644 --- a/examples/integrations/itk/IDC_Seg_Primer_Examples.ipynb +++ b/examples/integrations/itk/IDC_Seg_Primer_Examples.ipynb @@ -19,7 +19,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 7, "id": "c98ddf17-b608-448c-9253-cd7b806b96db", "metadata": { "colab": { @@ -33,12 +33,12 @@ "source": [ "import sys\n", "\n", - "!{sys.executable} -m pip install -q pooch itk-io \"itkwidgets[all]>=1.0a49\" pydicom pydicom-seg numpy" + "!{sys.executable} -m pip install -q pooch itk-io \"itkwidgets[all]>=1.0a53\" \"pydicom<=2\" pydicom-seg numpy" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 8, "id": "4120f9bf-e7f3-48a1-ab14-ce57b4d95621", "metadata": { "id": "4120f9bf-e7f3-48a1-ab14-ce57b4d95621", @@ -99,7 +99,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 9, "id": "1beba815-ea88-45f0-9dae-84038a13ba3d", "metadata": {}, "outputs": [], @@ -118,7 +118,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 10, "id": "c214d4f2-b6fc-4e02-963f-1738ce02957e", "metadata": {}, "outputs": [], @@ -137,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 11, "id": "0bbe6f14-a34e-4280-bc21-7343a78af88b", "metadata": {}, "outputs": [ @@ -145,21 +145,21 @@ "name": "stdout", "output_type": "stream", "text": [ - "--2023-05-25 14:18:24-- https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_Linux-64bit.tar.gz\n", - "Resolving github.com (github.com)... 140.82.113.3\n", - "Connecting to github.com (github.com)|140.82.113.3|:443... connected.\n", + "--2024-10-21 17:16:27-- https://github.com/peak/s5cmd/releases/download/v2.0.0/s5cmd_2.0.0_Linux-64bit.tar.gz\n", + "Resolving github.com (github.com)... 140.82.112.3\n", + "Connecting to github.com (github.com)|140.82.112.3|:443... connected.\n", "HTTP request sent, awaiting response... 302 Found\n", - "Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230525%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230525T181825Z&X-Amz-Expires=300&X-Amz-Signature=4327982d7fc3e663e05504d6f396f1bb67a31dfce4e3fce9fdaa939e35094d2d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=73909333&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream [following]\n", - "--2023-05-25 14:18:24-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230525%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230525T181825Z&X-Amz-Expires=300&X-Amz-Signature=4327982d7fc3e663e05504d6f396f1bb67a31dfce4e3fce9fdaa939e35094d2d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=73909333&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream\n", - "Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...\n", - "Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.\n", + "Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241021%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241021T211627Z&X-Amz-Expires=300&X-Amz-Signature=f0ca8191cf05701f9657800125c96f5a898485823f8f347115a37ad97d2ea62a&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream [following]\n", + "--2024-10-21 17:16:27-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/73909333/2e177ae0-614f-48ba-92fd-04cf9bf41529?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241021%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241021T211627Z&X-Amz-Expires=300&X-Amz-Signature=f0ca8191cf05701f9657800125c96f5a898485823f8f347115a37ad97d2ea62a&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Ds5cmd_2.0.0_Linux-64bit.tar.gz&response-content-type=application%2Foctet-stream\n", + "Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.110.133, ...\n", + "Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.\n", "HTTP request sent, awaiting response... 200 OK\n", "Length: 4276789 (4.1M) [application/octet-stream]\n", "Saving to: ‘s5cmd_2.0.0_Linux-64bit.tar.gz’\n", "\n", - "s5cmd_2.0.0_Linux-6 100%[===================>] 4.08M 22.3MB/s in 0.2s \n", + "s5cmd_2.0.0_Linux-6 100%[===================>] 4.08M --.-KB/s in 0.08s \n", "\n", - "2023-05-25 14:18:25 (22.3 MB/s) - ‘s5cmd_2.0.0_Linux-64bit.tar.gz’ saved [4276789/4276789]\n", + "2024-10-21 17:16:27 (49.0 MB/s) - ‘s5cmd_2.0.0_Linux-64bit.tar.gz’ saved [4276789/4276789]\n", "\n" ] } @@ -171,7 +171,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 12, "id": "aOnyE_7hllIl", "metadata": { "id": "aOnyE_7hllIl", @@ -189,7 +189,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 13, "id": "RJzY1NUmneKZ", "metadata": { "id": "RJzY1NUmneKZ", @@ -202,7 +202,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 14, "id": "0e588f46-01b4-4ae4-886b-63742d59984d", "metadata": { "tags": [] @@ -222,7 +222,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 15, "id": "264e1ce0-dd11-4197-a033-574d601cab50", "metadata": { "colab": { @@ -238,11 +238,11 @@ "data": { "text/html": [ "\n", - " \n", + " \n", " \n", @@ -258,7 +258,7 @@ { "data": { "application/javascript": [ - "window.connectPlugin && window.connectPlugin(\"7a4d3388-37d8-410f-9cd2-0f4c8cb74f46\")" + "window.connectPlugin && window.connectPlugin(\"a205f07b-639e-4397-b96d-a6b63f9cb300\")" ], "text/plain": [ "" @@ -270,7 +270,7 @@ { "data": { "text/html": [ - "
" + "
" ], "text/plain": [ "" @@ -286,9 +286,13 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 16, "id": "de4dfee3-1f5e-41d4-a599-02d1d9cbdf0e", - "metadata": { "tags": ["skip-execution"] }, + "metadata": { + "tags": [ + "skip-execution" + ] + }, "outputs": [], "source": [ "segthor_viewer.set_image_color_range([-1260, 2385])\n", @@ -319,7 +323,11 @@ "cell_type": "code", "execution_count": 10, "id": "03988ee1-90eb-4e75-99af-2c56d932fad9", - "metadata": { "tags": ["skip-execution"] }, + "metadata": { + "tags": [ + "skip-execution" + ] + }, "outputs": [], "source": [ "head_image_file = pooch.retrieve('https://data.kitware.com/api/v1/file/61b61cd74acac99f42a7ec84/download',\n", @@ -332,7 +340,11 @@ "cell_type": "code", "execution_count": 11, "id": "091d4d0e-fdc5-4034-b6a5-a4d7350b98d5", - "metadata": { "tags": ["skip-execution"] }, + "metadata": { + "tags": [ + "skip-execution" + ] + }, "outputs": [ { "data": { @@ -388,7 +400,11 @@ "cell_type": "code", "execution_count": null, "id": "0f4633af-fd01-4ab5-8202-3fb642276040", - "metadata": { "tags": ["skip-execution"] }, + "metadata": { + "tags": [ + "skip-execution" + ] + }, "outputs": [], "source": [] } @@ -412,7 +428,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.10.12" } }, "nbformat": 4,