diff options
author | Frederick Muriuki Muriithi | 2024-12-03 16:18:29 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-03 16:18:29 -0600 |
commit | cb4f7e86a1bf89ff05fa041597523d5c9914027d (patch) | |
tree | b178506f1ca2802bf87801724217124f12355e9d | |
parent | 0165fa73fb092960c472c4baab16c164f9f55ccf (diff) | |
download | gn-uploader-cb4f7e86a1bf89ff05fa041597523d5c9914027d.tar.gz |
Improve error text
Move the list to the end of the text to make it easier to clip text in
the UI.
-rw-r--r-- | scripts/rqtl2/phenotypes_qc.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |