RajLabMSSM / echolocatoR

Automated statistical and functional fine-mapping pipeline with extensive API access to datasets.
https://rajlabmssm.github.io/echolocatoR
MIT License
34 stars 11 forks source link

`finemap_loci`: Disable/enable `tryCatch` #104

Closed bschilder closed 2 years ago

bschilder commented 2 years ago

Currently, I have a tryCatch around each iteration of finemap_locus in finemap_loci This makes it so that if you're running dozens/hundreds of loci, the whole pipeline won't crash because only 1 locus failed.

Nevertheless, this tryCatch prevents tracebacks, so I should either:

bschilder commented 2 years ago

Originally mentioned here: #103

bschilder commented 2 years ago

Now implemented via the new finemap_loci(use_tryCatch) arg. Default is TRUE. Added unit tests to confirm it behaves as I hoped.