Closed cerati closed 2 years ago
@cerati, I confirm that the SkipEvent
functionality does not appear to be working correctly. Is it possible for you to add the "TEST"
exception category to the FailPath
parameter to achieve somewhat equivalent behavior in the meantime? This would not stop the processing of the event, per se, but it would stop the execution of the path, and if any analyzers/output modules have specified SelectEvents: [...]
with the path that "failed," then that event would not be further processed.
Thank you @knoepfel, that seems to work for my purpose! The job ends and all events are saved in artroot output file except the one that threw the exception
The problem is understood. We will include a fix for this in art 3.12.00.
Describe the bug I am trying to have a workflow where if an exception is thrown in a given event, the art program does not terminate but skips to the next event. This functionality should be provided by scheduler.SkipEvent, but it does not seem to be working for the test below.
To Reproduce Setup: icaruscode v09_37_02_04 (larsoft v09_37_01_02). Fhicl file:
Where the producer in
Exception_module.cc
only does:However, when it gets to the first even event number the process ends:
Note that the input file was generated with the same setup with:
(there is a filter so only 4 events are saved in the output)
If this is a high-priority issue Please add the "high priority" label to this issue.