diff options
author | zsloan | 2019-12-04 10:50:00 -0600 |
---|---|---|
committer | zsloan | 2019-12-04 10:50:00 -0600 |
commit | 3d18e152df759aa4f20eaea106a1eba569d41cc4 (patch) | |
tree | 9333e548cfe9742ced84e1b5fe483cb9e096e8c2 /wqflask/base/trait.py | |
parent | b7adf99fa3fbadc13cc23b8f2671ad5cffd3f09c (diff) | |
download | genenetwork2-3d18e152df759aa4f20eaea106a1eba569d41cc4.tar.gz |
Fixed error that sometimes occurs if there's no mean expression and changed index page header style a little
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 4 |
1 files changed, 1 insertions, 3 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 = """ |