Skip to content
Snippets Groups Projects

[JUNGFRAU] [DARK] Clearer error message when no suitable files

Merged Thomas Kluyver requested to merge jf-dark-error-no-files into master
1 unresolved thread

Description

The error when this is launched with the wrong run (with no JUNGFRAU data) was cryptic and unhelpful (IndexError: range object index out of range). This adds a more informative error message in the report.

How Has This Been Tested?

Re-ran a failed example with this change. PDF report before vs PDF report after.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.

Reviewers

@ahmedk @schmidtp

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Thomas KluyverThomas Kluyver 3 years ago (Aug 16, 2021 12:08pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading