nils-braun / b2luigi

Task scheduling and batch running for basf2 jobs made simple
GNU General Public License v3.0
17 stars 11 forks source link

Don't raise exception when download failed #72

Closed meliache closed 3 years ago

meliache commented 3 years ago

Instead don't produce the outputs. WIP goal is to also mark the job as failed during runtime. Addresses #69

meliache commented 3 years ago

Okay the solution was easier than I thought, since I initiate the download in get_job_status anyway, I just catch the error and return JobStatus.aborted.