This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
Improve Exception Handling for User-Provided Batch Functions #354
Labels
enhancement
New feature or request
When using
Ensemble.batch
to run a custom user-provided function, it's possible that the function will throw an exception causing the batch operation to stop before delivering a final result.One way in which this can be particularly annoying is only some data yields an exception. For instance, a user can run
batch
on a very large dataset but have exceptions that generated only by a few unusual lightcurves cause the whole operation to fail.To alleviate the pain of this we could have wrap the user's function in another function which performs some basic exception handling, and then we can have some threshold for how many exceptions would trigger a batch failure.
There is some uncertainty in:
None
, NaNs, Inf, etc.The text was updated successfully, but these errors were encountered: