graph-genome / component_segmentation

Read in ODGI Bin output and identify co-linear components
Apache License 2.0
3 stars 4 forks source link

don't always exit 0, especially in case of OOM #49

Closed mr-c closed 4 years ago

mr-c commented 4 years ago

Looks like https://github.com/graph-genome/component_segmentation/blob/master/segmentation.py#L409 + an out of memory situation is causing a "0" (no problems) exits, which makes it hard for workflow systems to detect that something went wrong

dimatr commented 4 years ago

An exit code 1 is now thrown on a premature program end. Please check