Closed mexanick closed 2 weeks ago
Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs
Following a need in custom exit codes in
ctapipe.core.Tool
, I've implemented an extra catch ofSystemExit
that can be generated during the tool's execution phase that also performs a clean up in the same fashion as in general Exception interception and propagates the exit code further down.