about summary refs log tree commit diff
diff options
context:
space:
mode:
-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