BIMSBbioinfo / pigx_sars-cov-2

PiGx SARS-CoV-2 wastewater sequencing pipeline
GNU General Public License v3.0
18 stars 3 forks source link

Better deconvolution error reporting #157

Open jonasfreimuth opened 1 year ago

jonasfreimuth commented 1 year ago

Deconvolution errors should better point out which problem with the data caused it, for example

Error in { : task 1 failed - "0 (non-NA) cases"
Calls: deconvolute -> %dopar% -> <Anonymous>
In addition: Warning message:
executing %dopar% sequentially: no parallel backend registered 
Execution halted

should read something like

Error: Could not carry out deconvolution for sample $SAMPLE_NAME, not enough mutations detected in sample.

(See also #155)