fulcrumgenomics / dagr

A scala based DSL and framework for writing and executing bioinformatics pipelines as Directed Acyclic GRaphs
MIT License
69 stars 14 forks source link

Use Files.deleteIfExists() in `DeleteBam` rather than `paths.filter(F… #369

Closed tfenne closed 5 years ago

tfenne commented 5 years ago

…iles.exists).foreach(Files.delete)`. The latter (previous implementation) was prone to throwing exceptions if there was a race to delete a given file.