Fix wrongly formatted error message (#302).
... | ... |
@@ -512,8 +512,8 @@ function(vcf, tumor.id.in.vcf, allowed = 0.05) { |
512 | 512 |
db <- grepl("^rs", rownames(vcf)) |
513 | 513 |
|
514 | 514 |
if (!sum(db)) { |
515 |
- .stopUserError("vcf.file has no %s or %s info field for membership in germline databases.", |
|
516 |
- DB.info.flag, POPAF.info.field) |
|
515 |
+ .stopUserError("vcf.file has no ", DB.info.flag, " or ", POPAF.info.field, |
|
516 |
+ " info field for membership in germline databases.") |
|
517 | 517 |
} else { |
518 | 518 |
flog.warn("vcf.file has no %s or %s info field for membership in germline databases.%s", |
519 | 519 |
DB.info.flag, POPAF.info.field, " Guessing it based on available dbSNP ID.") |