Skip to content

Commit

Permalink
fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Jan 24, 2024
1 parent 8b2eca9 commit 96335b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion totalsegmentator/nnunet.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def nnUNet_predict_image(file_in, file_out, task_id, model="3d_fullres", folds=N
if not quiet: print("Creating skin.nii.gz")
skin = extract_skin(img_in_orig, nib.load(file_out / "body.nii.gz"))
nib.save(skin, file_out / "skin.nii.gz")

seg_img = nib.Nifti1Image(img_data, img_pred.affine)
seg_img = add_label_map_to_nifti(seg_img, class_map[task_name])
return seg_img, img_in_orig

0 comments on commit 96335b6

Please sign in to comment.