Neemah commited on
Commit
3ed2114
·
verified ·
1 Parent(s): b3e0730

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -71,7 +71,7 @@ def convert_dicom_zip_to_nifti(zip_file):
71
 
72
  # Extract middle axial slice
73
  mid = volume.shape[2] // 2
74
- slice_2d = volume[:, :, mid
75
 
76
  # Rotate to correct display orientation
77
  slice_2d = np.rot90(slice_2d)
 
71
 
72
  # Extract middle axial slice
73
  mid = volume.shape[2] // 2
74
+ slice_2d = volume[:, :, mid]
75
 
76
  # Rotate to correct display orientation
77
  slice_2d = np.rot90(slice_2d)