From b29f95f23dcb843d2afc0ab69f8298f3a48b3271 Mon Sep 17 00:00:00 2001 From: Xiuwen Zheng Date: Tue, 26 Mar 2024 17:50:17 -0500 Subject: [PATCH] tweak verbose --- NEWS | 3 ++- R/UtilsExport.R | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 30e67e5..5b76f95 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,8 @@ UTILITIES information for scanning the VCF file o new `seqGetData(, "$dosage_alt2")` and `seqGetData(, "$dosage_sp2")` for - sex chromosomes, when the alleles are partially missing + sex chromosomes, when the alleles are partially missing (e.g., genotypes + on chromosome X for males) CHANGES IN VERSION 1.42.3 diff --git a/R/UtilsExport.R b/R/UtilsExport.R index a0e0339..1f62424 100644 --- a/R/UtilsExport.R +++ b/R/UtilsExport.R @@ -184,7 +184,7 @@ seqExport <- function(gdsfile, out.fn, info.var=NULL, fmt.var=NULL, on.exit({ closefn.gds(outfile) }) if (verbose) - cat("Export to '", out.fn, "'\n", sep="") + cat("Export to ", sQuote(out.fn), ":\n", sep="") # copy folders and attributes put.attr.gdsn(outfile$root, val=gdsfile$root)