Skip to content

Commit

Permalink
fixed displaying image at the bottom of the stack
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerum committed Mar 4, 2024
1 parent 79243d0 commit 7554edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saenopy/gui/solver/modules/exporter/ExportRenderCommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def getVectorFieldImage(result, params, use_fixed_contrast_if_available=False, u

display_image = [im, data["voxel_size"], params["stack"]["z"] - data["z_slices_count"] / 2]
if params["stack"]["image"] == 2:
display_image[2] = -stack.shape[2] / 2
display_image[2] = -stack.shape[3] / 2
else:
display_image = None
except FileNotFoundError:
Expand Down

0 comments on commit 7554edd

Please sign in to comment.