Skip to content

Commit

Permalink
fixes #131
Browse files Browse the repository at this point in the history
input image was reloaded even though it was supplied at correct scale
  • Loading branch information
sophiamaedler committed Feb 21, 2025
1 parent 4cf7518 commit a50a14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scportrait/pipeline/segmentation/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def _perform_mask_matching_filtering(
plot_results = True

if plot_results:
if input_image is not None:
if input_image is None:
if "input_image" in self.__dict__.keys():
input_image = self.input_image

Expand Down

0 comments on commit a50a14f

Please sign in to comment.