Skip to content

Commit

Permalink
Use log warning to show empty VCF
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmig committed Apr 16, 2024
1 parent 42f76ec commit c4f546e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/scripts/report/NV_description.R
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ window_plot_spike <- window %>%

if (nrow(vcf_spike) == 0) {
log_warn("Spike VCF has no rows")
print(vcf_spike)
log_warn(vcf_spike$REGION)
vcf_spike <- empty_vcf
print(vcf_spike)
log_warn(vcf_spike$NV_class)
}

variants_spike <- vcf_spike %>%
Expand Down

0 comments on commit c4f546e

Please sign in to comment.