fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 6 forks source link

Communicate and use exit code from jobs in simple_scheduler #47

Open pjbriggs opened 7 years ago

pjbriggs commented 7 years ago

The underlying bcftbx.Pipeline.Job class which is subclassed by SchedulerJob now supports returning the exit code of the command that was run (see https://github.com/fls-bioinformatics-core/genomics/pull/28)

This exit code could be communicated by the scheduler when jobs finish, and used to trigger actions based on job success or failure (e.g. only run a job if all its dependencies have zero exit status).

pjbriggs commented 5 years ago

PR #79 implements setting of an exit code for SchedulerGroups based on the code from the SchedulerJobs that comprise it.