diff options
-rw-r--r-- | wqflask/base/trait.py | 4 | ||||
-rwxr-xr-x | wqflask/wqflask/templates/index_page_orig.html | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 37603873..7f60a809 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -497,6 +497,7 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False): #LRS and its location trait.LRS_score_repr = "N/A" trait.LRS_location_repr = "N/A" + trait.locus = trait.locus_chr = trait.locus_mb = trait.lrs = trait.pvalue = trait.mean = trait.additive = "" if dataset.type == 'ProbeSet' and not trait.cellid: query = """ SELECT @@ -528,9 +529,6 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False): trait.locus = trait.locus_chr = trait.locus_mb = trait.additive = "" else: trait.locus = trait.locus_chr = trait.locus_mb = trait.additive = "" - else: - trait.locus = trait.locus_chr = trait.locus_mb = trait.lrs = trait.pvalue = trait.mean = trait.additive = "" - if dataset.type == 'Publish': query = """ diff --git a/wqflask/wqflask/templates/index_page_orig.html b/wqflask/wqflask/templates/index_page_orig.html index 815eb096..8c7ea3cf 100755 --- a/wqflask/wqflask/templates/index_page_orig.html +++ b/wqflask/wqflask/templates/index_page_orig.html @@ -25,7 +25,7 @@ <div class="col-xs-5" style="min-width: 530px; max-width: 550px;"> <section id="search"> - <div class="page-header"> + <div> <h1>Select and search</h1> </div> <form method="get" action="/search" target="_blank" name="SEARCHFORM"> |