diff options
author | Frederick Muriuki Muriithi | 2024-04-12 09:17:49 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-12 09:48:58 +0300 |
commit | 8e4e15ae62989f07d3ca8512165ba2a93c42aa94 (patch) | |
tree | 6136b56b8ba8537cb54ea6d498f418b6bf81c733 /qc_app/templates/rqtl2 | |
parent | 09b4b70aae5e65516c766882118a897c75a44974 (diff) | |
download | gn-uploader-8e4e15ae62989f07d3ca8512165ba2a93c42aa94.tar.gz |
Consistently check for possibly non-existent data
The "geno-dataset", "tissue", "pheno-study" and "pheno-dataset" data
"objects" might not exist for a particular uploaded bundle, so we
check in a consistent manner to ensure they are provided when needed.
Diffstat (limited to 'qc_app/templates/rqtl2')
-rw-r--r-- | qc_app/templates/rqtl2/summary-info.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/summary-info.html b/qc_app/templates/rqtl2/summary-info.html index 3882c9c..9a9b6dd 100644 --- a/qc_app/templates/rqtl2/summary-info.html +++ b/qc_app/templates/rqtl2/summary-info.html @@ -19,14 +19,25 @@ <dt>Population</dt> <dd>{{population.InbredSetName}}</dd> + {%if geno_dataset%} <dt>Genotype Dataset</dt> <dd>{{geno_dataset.Name}} ({{geno_dataset.FullName}})</dd> + {%endif%} + {%if tissue%} + <dt>Tissue</dt> + <dd>{{tissue.TissueName}} ({{tissue.Name}}, {{tissue.Short_Name}})</dd> + {%endif%} + + {%if probe_study%} <dt>ProbeSet Study</dt> <dd>{{probe_study.Name}} ({{probe_study.FullName}})</dd> + {%endif%} + {%if probe_dataset%} <dt>ProbeSet Dataset</dt> <dd>{{probe_dataset.Name2}} ({{probe_dataset.FullName}})</dd> + {%endif%} </dl> <form id="frm:confirm-rqtl2bundle-details" |