Skip to content

Commit

Permalink
fix D99 name bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
disadone committed Mar 13, 2023
1 parent 91dc03d commit 4ff175c
Show file tree
Hide file tree
Showing 35 changed files with 28 additions and 7,910 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions Atlas_generation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"368it [01:36, 3.81it/s]\n"
"368it [01:54, 3.22it/s]\n"
]
}
],
Expand All @@ -117,6 +117,7 @@
"for idx,abr in tqdm(table['Abbreviation'].items()):\n",
" mask=MaskTheArea(idx)\n",
" abr=abr.replace('/','_')\n",
" abr=abr.replace(' ','_')\n",
" nib.save(mask,f\"./D99_mask/{idx}_{abr}.nii.gz\")"
]
},
Expand Down
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
Loading

0 comments on commit 4ff175c

Please sign in to comment.