Skip to content

Commit

Permalink
Recon Volume FileName Description Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEAllen committed May 16, 2024
1 parent da412df commit c83f081
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mantidimaging/gui/windows/recon/presenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ def _on_volume_recon_done(self, task) -> None:
try:
self._replace_inf_nan(task.result) # pyqtgraph workaround
assert self.model.images is not None
task.result.name = "Recon"
filter_name = self.view.recon_params().filter_name
task.result.name = f"Recon_Vol{self.view.recon_params().algorithm}"
task.result.name = f"{task.result.name}_{filter_name}" if filter_name else task.result.name
self.view.show_recon_volume(task.result, self.model.stack_id)
finally:
self.view.set_recon_buttons_enabled(True)
Expand Down

0 comments on commit c83f081

Please sign in to comment.