aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/templates/rqtl2/rqtl2-qc-job-error.html8
-rw-r--r--qc_app/upload/rqtl2.py2
2 files changed, 10 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
index 1650a79..524282b 100644
--- a/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
+++ b/qc_app/templates/rqtl2/rqtl2-qc-job-error.html
@@ -90,6 +90,14 @@
{{errors_table("tbl-errors-pheno", errorspheno[0:50])}}
{%endif%}
+{%if errorsphenose | length > 0%}
+<h2 class="heading">Phenose Errors ({{errorsphenose | length}})</h3>
+<div class="explainer">
+ We found the following errors in the 'phenose' file in your R/qtl2 bundle:
+</div>
+{{errors_table("tbl-errors-phenose", errorsphenose[0:50])}}
+{%endif%}
+
{%if errorsphenocovar | length > 0%}
<h2 class="heading">Phenocovar Errors ({{errorsphenocovar | length}})</h3>
<div class="explainer">
diff --git a/qc_app/upload/rqtl2.py b/qc_app/upload/rqtl2.py
index c45952c..66b219d 100644
--- a/qc_app/upload/rqtl2.py
+++ b/qc_app/upload/rqtl2.py
@@ -211,6 +211,8 @@ def rqtl2_bundle_qc_status(jobid: UUID):
thejob.get("errors-geno", "[]")),
errorspheno=json.loads(
thejob.get("errors-pheno", "[]")),
+ errorsphenose=json.loads(
+ thejob.get("errors-phenose", "[]")),
errorsphenocovar=json.loads(
thejob.get("errors-phenocovar", "[]")),
messages=logmessages)