changeset 69:19d704e24977 draft

Uploaded
author bimib
date Thu, 23 Apr 2020 17:17:41 -0400
parents aa09186cbc9f
children c22ba0547370
files Marea/marea.py
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Marea/marea.py	Thu Apr 23 17:03:48 2020 -0400
+++ b/Marea/marea.py	Thu Apr 23 17:17:41 2020 -0400
@@ -685,11 +685,16 @@
             tmp = {}
             count = 0
             max_F_C = 0
+            
+            primo = -1
 
-            for l1, l2 in zip(rest, class_pat.get(single_cluster)):
+            for l1, l2 in zip(class_pat.get(single_cluster), rest):
                 try:
                     stat_D, p_value = st.ks_2samp(l1, l2)
                     avg = fold_change(sum(l1) / len(l1), sum(l2) / len(l2))
+                    if primo == -1:
+                        primo = 0
+                        print(avg)
                     if not isinstance(avg, str):
                         if max_F_C < abs(avg):
                             max_F_C = abs(avg)