DKFZ-ODCF / AlignmentAndQCWorkflows

The DKFZ alignment workflow plugin originally developed at the eilslabs
https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows/wiki
Other
7 stars 5 forks source link

Add for-loop to waitForRegisteredPids #44

Closed vinjana closed 5 years ago

vinjana commented 5 years ago

The two functions waitForRegisteredPids and the _BashSucksVersion wait for all pids en bloc. It is not possible to say exactly, which PID produced the error code.

  1. Use a for-loop and report the PID and maybe index. After switching the PID registry to be a associative array, report the array keys.
  2. Report all failed PIDs with error codes. Accumulate the errors and fail if one or more failed.