Skip to content

Commit

Permalink
BUG: missing variable definition
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Jan 15, 2024
1 parent 68ccfe0 commit aa29ee8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ants/viz/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,7 @@ def reorient_slice(x, axis):
# pad image to have isotropic array dimensions
imageReturn = image.clone()
image = image.numpy()
overlayReturn = None
if overlay is not None:
overlayReturn = overlay.clone()
overlay = overlay.numpy()
Expand Down

0 comments on commit aa29ee8

Please sign in to comment.