Skip to content

Commit

Permalink
\resolve Pyright reportGeneralTypeIssues Error
Browse files Browse the repository at this point in the history
error:  is not iterable   method not defined (reportGeneralTypeIssues)
  • Loading branch information
JackEAllen committed Oct 22, 2024
1 parent 569f612 commit c1667e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantidimaging/gui/windows/recon/presenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def completed(task: TaskWorkerThread) -> None:
f"\n\n Suggestion: Use crop coordinates to resize the 180 degree projection to "
f"({selected_stack.height}, {selected_stack.width})")
else:
cor, tilt = task.result
cor, tilt = task.result if task.result is not None else (None, None)
self._set_precalculated_cor_tilt(cor, tilt)
self.view.set_correlate_buttons_enabled(True)
self.recon_is_running = False
Expand Down

0 comments on commit c1667e9

Please sign in to comment.