From 22ef0cad3cfe4a0464b00624835372f2734ec154 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Sat, 10 Feb 2024 07:37:43 +0300 Subject: Improve error display for generic errors --- qc_app/templates/rqtl2/rqtl2-qc-job-error.html | 43 ++++++++++++++++++++------ 1 file changed, 34 insertions(+), 9 deletions(-) (limited to 'qc_app/templates/rqtl2/rqtl2-qc-job-error.html') diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html index 49df061..e809e7c 100644 --- a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html +++ b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html @@ -4,10 +4,9 @@ {%block title%}R/qtl2 bundle: QC Job Error{%endblock%} {%macro errors_table(tableid, errors)%} - - +
+ + @@ -23,6 +22,10 @@ + {%else%} + + + {%endfor%}
{{caption}}
Line Column{{error.value}} {{error.message}}
No errors to display here.
@@ -42,11 +45,33 @@
We found the following generic errors in your R/qtl2 bundle:
- + +

Missing Files

+
+

These files are listed in the bundle's control file, but do not actually + exist in the bundle

+
+ + + + + + + + + + {%for error in (errorsgeneric | selectattr("type", "equalto", "MissingFile"))%} + + + + + + {%endfor%} + +
Control File KeyBundle File NameMessage
{{error.controlfilekey}}{{error.filename}}{{error.message}}
+ +

Other Generic Errors

+{{errors_table("tbl-errors-generic", errorsgeneric| selectattr("type", "ne", "MissingFile"))}} {%endif%} {%if errorsgeno | length > 0%} -- cgit v1.2.3