zdk123 / pulsar

pulsar: Parallel Utilities for Lambda Selection along a Regularization Path
GNU General Public License v3.0
10 stars 8 forks source link

Report errors from mclapply #16

Closed zdk123 closed 5 years ago

zdk123 commented 5 years ago

Captures errors from mclapply jobs and:

1) Throw errors if all jobs fail 2) Continue if subset of jobs fail, convert errors to warnings, return successful jobs and adjust denominator of summary statistic 3) If 1 core, report warnings gracefully. 4) Test behavior of above conditions in multicore and lower-bound mode.

Addresses issue #14 here and https://github.com/zdk123/SpiecEasi/issues/80