From cb4f7e86a1bf89ff05fa041597523d5c9914027d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Dec 2024 16:18:29 -0600 Subject: Improve error text Move the list to the end of the text to make it easier to clip text in the UI. --- scripts/rqtl2/phenotypes_qc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/rqtl2') diff --git a/scripts/rqtl2/phenotypes_qc.py b/scripts/rqtl2/phenotypes_qc.py index f539cad..4d3f188 100644 --- a/scripts/rqtl2/phenotypes_qc.py +++ b/scripts/rqtl2/phenotypes_qc.py @@ -300,8 +300,8 @@ def qc_pheno_file(# pylint: disable=[too-many-arguments] "header row", "-", ", ".join(_absent), - (f"The phenotype names ({', '.join(samples)}) do not exist in any " - "of the provided phenocovar files."))),) + ("The following phenotype names do not exist in any of the " + f"provided phenocovar files: ({', '.join(_absent)})"))),) def collect_errors(errors_and_linecount, line): _errs, _lc = errors_and_linecount -- cgit v1.2.3