Skip to content

Commit

Permalink
docs: Update dependencies and fix code execution counts
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Jan 21, 2024
1 parent 4a2af47 commit 68e67e0
Showing 1 changed file with 44 additions and 41 deletions.
85 changes: 44 additions & 41 deletions docs/Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,14 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting nbiatoolkit\n",
" Downloading nbiatoolkit-0.6.0-py3-none-any.whl.metadata (2.8 kB)\n",
"Collecting pydicom<3.0.0,>=2.4.3 (from nbiatoolkit)\n",
" Using cached pydicom-2.4.4-py3-none-any.whl.metadata (7.8 kB)\n",
"Requirement already satisfied: requests==2.31.0 in /opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages (from nbiatoolkit) (2.31.0)\n",
"Collecting tqdm<5.0.0,>=4.66.1 (from nbiatoolkit)\n",
" Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m57.6/57.6 kB\u001b[0m \u001b[31m3.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (3.6)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (2.1.0)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (2023.11.17)\n",
"Downloading nbiatoolkit-0.6.0-py3-none-any.whl (16 kB)\n",
"Using cached pydicom-2.4.4-py3-none-any.whl (1.8 MB)\n",
"Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m78.3/78.3 kB\u001b[0m \u001b[31m8.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hInstalling collected packages: tqdm, pydicom, nbiatoolkit\n",
"Successfully installed nbiatoolkit-0.6.0 pydicom-2.4.4 tqdm-4.66.1\n"
"Requirement already satisfied: nbiatoolkit in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (0.6.0)\n",
"Requirement already satisfied: pydicom<3.0.0,>=2.4.3 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from nbiatoolkit) (2.4.3)\n",
"Requirement already satisfied: requests==2.31.0 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from nbiatoolkit) (2.31.0)\n",
"Requirement already satisfied: tqdm<5.0.0,>=4.66.1 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from nbiatoolkit) (4.66.1)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (3.4)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (2.1.0)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/nbia/lib/python3.12/site-packages (from requests==2.31.0->nbiatoolkit) (2023.11.17)\n"
]
}
],
Expand All @@ -59,7 +49,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -72,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -97,7 +87,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -117,7 +107,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand All @@ -143,18 +133,18 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[{'Collection': '4D-Lung', 'PatientCount': '20'},\n",
" {'Collection': 'ACRIN-6698', 'PatientCount': '385'},\n",
" {'Collection': 'ACRIN-Contralateral-Breast-MR', 'PatientCount': '984'},\n",
" {'Collection': 'ACRIN-FLT-Breast', 'PatientCount': '83'},\n",
" {'Collection': 'ACRIN-NSCLC-FDG-PET', 'PatientCount': '242'}]\n"
"[{'Collection': '4D-Lung', 'PatientCount': 20},\n",
" {'Collection': 'ACRIN-6698', 'PatientCount': 385},\n",
" {'Collection': 'ACRIN-Contralateral-Breast-MR', 'PatientCount': 984},\n",
" {'Collection': 'ACRIN-FLT-Breast', 'PatientCount': 83},\n",
" {'Collection': 'ACRIN-NSCLC-FDG-PET', 'PatientCount': 242}]\n"
]
}
],
Expand All @@ -165,7 +155,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -212,7 +202,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -262,7 +252,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -304,7 +294,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -348,7 +338,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -388,7 +378,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -443,7 +433,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 14,
"metadata": {},
"outputs": [
{
Expand All @@ -469,7 +459,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -490,14 +480,20 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Downloading 5 series: 100%|██████████| 5/5 [00:25<00:00, 5.09s/it]"
"Downloading 5 series: 100%|██████████| 5/5 [00:23<00:00, 4.69s/it]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['R01-016', 'P100', 'R01-010', 'R01-019', 'R01-044', 'R01-022']\n"
"['R01-016',\n",
" 'P100',\n",
" 'R01-010',\n",
" 'R01-019',\n",
" 'R01-044',\n",
" 'R01-022',\n",
" 'UnknownCollection']\n"
]
},
{
Expand Down Expand Up @@ -549,14 +545,21 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Downloading 5 series: 100%|██████████| 5/5 [00:20<00:00, 4.07s/it]\n"
"Downloading 5 series: 0%| | 0/5 [00:00<?, ?it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Downloading 5 series: 100%|██████████| 5/5 [00:17<00:00, 3.53s/it]\n"
]
},
{
Expand All @@ -565,7 +568,7 @@
"True"
]
},
"execution_count": 25,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
Expand Down

0 comments on commit 68e67e0

Please sign in to comment.