aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-09 05:29:08 +0300
committerFrederick Muriuki Muriithi2024-02-12 18:17:39 +0300
commit34eab8a50ce185aaf786fd7138a3bd0b7c5b0576 (patch)
tree0c020a6852289b747a85767a3571680ba8ccb69b /qc_app/templates
parent4c077c01db19e8adc01d9559677ad5693a1db909 (diff)
downloadgn-uploader-34eab8a50ce185aaf786fd7138a3bd0b7c5b0576.tar.gz
Retrive and display generic bundle errors
Implement the first QC check for generic errors e.g. missing files in bundle, etc. Display retrieved errors on UI.
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/rqtl2/rqtl2-qc-job-error.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
index 5d2ebee..f9a912c 100644
--- a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
+++ b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
@@ -12,9 +12,19 @@
be uploaded onto GeneNetwork.</p>
</div>
-<h2 class="heading">Errors</h2>
+{%if errorsgeneric | length > 0%}
+<h2 class="heading">Generic Errors ({{errorsgeneric | length}})</h3>
+<div class="explainer">
+ We found the following generic errors in your R/qtl2 bundle:
+</div>
+<ul class="alert-error qc-error-display">
+ {%for msg in errorsgeneric%}
+ <li>{{msg}}</li>
+ {%endfor%}
+</ul>
+{%endif%}
-<p><emph>list errors here by file type, I think &hellip;</emph></p>
+<p><emph>list other errors here by file type, I think &hellip;</emph></p>
<h4>stdout</h4>
{{cli_output(job, "stdout")}}