about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2016-05-27 19:40:25 +0000
committerzsloan2016-05-27 19:40:25 +0000
commit0d22d3bc72cfc35cb23efce3d1687477880a5b3e (patch)
tree146a067f5e329b3c2e34aff61f032cb1f2da1c7c
parent1230fd2790162ae78b065ab6f7077c66fd25c44e (diff)
downloadgenenetwork2-0d22d3bc72cfc35cb23efce3d1687477880a5b3e.tar.gz
Fixed issue where the Non-BXD (or whatever group/inbred set) table would show up when there should be no such samples
Fixed Interquartile Range link in basic statistics table
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py2
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 76651cbf..f7a33d4f 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -1190,7 +1190,7 @@ class ShowTrait(object):
             if (this_trait.data[sample].name2 in primary_sample_names) and (this_trait.data[sample].name not in primary_sample_names):
                 primary_sample_names.append(this_trait.data[sample].name)
                 primary_sample_names.remove(this_trait.data[sample].name2)
-            if sample not in all_samples_ordered:
+            elif sample not in all_samples_ordered:
                 all_samples_ordered.append(sample)
                 other_sample_names.append(sample)
 
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 5d0fa589..34d1a139 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -50,7 +50,7 @@
     }, {
       vn: "interquartile",
       pretty: "Interquartile Range",
-      url: "/glossary.html#Interquartile",
+      url: "http://www.genenetwork.org/glossary.html#Interquartile",
       digits: 2
     }
   ];