lincc-frameworks / tape

[Deprecated] Package for working with LSST time series data
https://tape.readthedocs.io
MIT License
12 stars 3 forks source link

`try_batch` function for testing batch function on a single lightcurve #409

Closed dougbrn closed 4 months ago

dougbrn commented 5 months ago

Feature request Alternative or maybe complimentary to #358. When trying to get a complicated function working via batch, it can be difficult to debug due to dask error logs encasing the actual function failure. One helper function that could be useful is a try_batch or test_batch function, which operates identically to batch, but instead takes a random lightcurve (or optionally a specific lightcurve), computes it, and then tries the function call on that lightcurve. This would allow a user to tinker with the exact output of their function and see failure states without needing to fight with Dask.

Before submitting Please check the following: