Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve messaging to user #76

Closed
wants to merge 7 commits into from
Closed

Conversation

thomasmfish
Copy link
Contributor

Various changes that allow better messages:

  • Status tracking for reconstruction processes
  • Better exception handling (e.g. only include the traceback when logging unexpected exceptions)
  • Improve behaviour and logging around TIFF combining and writing

@thomasmfish thomasmfish added the enhancement New feature or request label Oct 16, 2024
@thomasmfish thomasmfish self-assigned this Oct 16, 2024
thomasmfish added a commit that referenced this pull request Oct 17, 2024
…#79)

With the better exception handling from #76, it is now more likely that
a combined log file will not be created because an exception is raised
before the end of the loop. It makes sense to created a combined log
file regardless of success, so long as there are per-channel log files
to combine.

This moves log file creation from `_processing_files_to_output` (now
renamed to `_reconstructions_to_output`, since it's now just doing the
reconstructions) into a new `finally` clause around the actual
reconstruction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant