Skip to content

Commit

Permalink
STYLE: remove unused code
Browse files Browse the repository at this point in the history
As ApplyToImageMetadata is not available in Python and might never be,
remove the commented-out code which mentions it.
See this commit for an attempt to make it available in Python:
dzenanz/ITK@db8157e
  • Loading branch information
dzenanz committed Feb 25, 2022
1 parent 3f286b8 commit 6eccaed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/ResampleAxisAligned.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
" transforms = itk.transformread(transform_filename)\n",
" direct_transform = transforms[0]\n",
" \n",
" # ApplyToImageMetadata method is not yet available in Python\n",
" # direct_transform.ApplyToImageMetadata(in_image)\n",
" # direct_transform.ApplyToImageMetadata(labels)\n",
" in_image = itk.resample_in_place_image_filter(in_image, rigid_transform=direct_transform)\n",
" labels = itk.resample_in_place_image_filter(labels, rigid_transform=direct_transform)\n",
" \n",
Expand Down

0 comments on commit 6eccaed

Please sign in to comment.