1402 brings up a good point about errors within this script not being handled properly. The right thing to do is push this logic into Toil jobs rather than calling out to the bash script. But in the meantime, this patch should hopefully prevent it from silently producing truncated output in the event of a crash.
1402 brings up a good point about errors within this script not being handled properly. The right thing to do is push this logic into Toil jobs rather than calling out to the bash script. But in the meantime, this patch should hopefully prevent it from silently producing truncated output in the event of a crash.