RCollins13 / WGD

A suite of tools to evaluate dosage in whole-genome sequencing libraries
MIT License
7 stars 7 forks source link

Make system calls in estimatePloidy.R blocking #6

Closed mwalker174 closed 5 years ago

mwalker174 commented 5 years ago

Currently, system calls are performed asynchronously, which is causing "file changed while we read it" errors in the subsequent WDL call to tar. This makes them blocking to ensure the system calls finish executing before the script is allowed to finish. It should hardly affect performance.