Skip to content

Commit

Permalink
Issue #255: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed Feb 24, 2024
1 parent 739a203 commit 971542e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sksurgeryvtk/widgets/vtk_overlay_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(
video_in_layer_0=True, # For backwards compatibility, prior to 3rd Feb 2024.
video_in_layer_2=False, # For backwards compatibility, prior to 3rd Feb 2024.
layer_2_video_mask=None, # For masking in Layer 3
use_depth_peeling=True # Historically, has defaulted to true.
use_depth_peeling=True, # Historically, has defaulted to true.
):
"""
Constructs a new VTKOverlayWindow.
Expand Down Expand Up @@ -412,7 +412,6 @@ def __update_projection_matrix(self, renderer, camera, input_image):
vtk_mat = None

if self.camera_matrix is not None:

if input_image is None:
raise ValueError("Camera matrix is provided, but no image.")

Expand Down

0 comments on commit 971542e

Please sign in to comment.