aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-04-29 21:38:07 +0000
committerzsloan2021-04-29 21:38:07 +0000
commit97663c7d0aa4b457948301849a46e6d9b42664c9 (patch)
tree01f1510bd5ee519b11513adaf1f614ac2d2554cb /wqflask
parent1a7bb988ee360b3ef48e22e25b419c375dccb9fa (diff)
downloadgenenetwork2-97663c7d0aa4b457948301849a46e6d9b42664c9.tar.gz
Changed the way sample data is fetched for network graph to include parents/f1s
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/network_graph/network_graph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/network_graph/network_graph.py b/wqflask/wqflask/network_graph/network_graph.py
index 132e1884..ca3d5bb3 100644
--- a/wqflask/wqflask/network_graph/network_graph.py
+++ b/wqflask/wqflask/network_graph/network_graph.py
@@ -27,7 +27,6 @@ from utility import helper_functions
from utility import corr_result_helpers
from utility.tools import GN2_BRANCH_URL
-
class NetworkGraph(object):
def __init__(self, start_vars):
@@ -69,7 +68,7 @@ class NetworkGraph(object):
this_trait = trait_db[0]
this_db = trait_db[1]
- this_db_samples = this_db.group.samplelist
+ this_db_samples = this_db.group.all_samples_ordered()
this_sample_data = this_trait.data
corr_result_row = []
@@ -80,7 +79,8 @@ class NetworkGraph(object):
for target in self.trait_list:
target_trait = target[0]
target_db = target[1]
- target_samples = target_db.group.samplelist
+
+ target_samples = target_db.group.all_samples_ordered()
target_sample_data = target_trait.data