KitwareMedical / KitwareMedical/vpaw

DOC: Report more detail for pediatric_airway_atlas failures

Open
#34 3 comments 1 reaction 0 assignees View on GitHub
documentation enhancement
Dominant language
Python
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Currently we report only that the computation in the `pediatric_airway_atlas` module failed, and give an error message that speculates what might have gone wrong. Instead, catch any errors or exceptions from `pediatric_airway_atlas` to give a more informative and definitive message.

Note that `pediatric_airway_atlas` is invoked via `slicer.util._executePythonModule(...)` rather than by direct Python call, so the detecting and reporting of exceptions may be somewhat non-trivial.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where the pediatric_airway_atlas module is invoked through slicer.util._executePythonModule(...), then inspect how its current failure message is produced. Determine how exceptions from that invocation can be detected and reported; done means failures provide an informative, definitive message rather than speculation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.