aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance
diff options
context:
space:
mode:
authorLei Yan2014-02-05 14:56:20 -0600
committerLei Yan2014-02-05 14:56:20 -0600
commitf8141607cf01afd5ed68358a3b2903b5f99c122a (patch)
tree0c020fb7b4ffcf3800e74bf80162b90a66db742f /wqflask/maintenance
parent9ee1d26a275c07c9fe8c96c74eab3c9b8e250267 (diff)
downloadgenenetwork2-f8141607cf01afd5ed68358a3b2903b5f99c122a.tar.gz
On branch master
Diffstat (limited to 'wqflask/maintenance')
-rw-r--r--wqflask/maintenance/dataset/specials.py3
-rw-r--r--wqflask/maintenance/dataset/utilities.py8
2 files changed, 11 insertions, 0 deletions
diff --git a/wqflask/maintenance/dataset/specials.py b/wqflask/maintenance/dataset/specials.py
index f90cfc57..62311a92 100644
--- a/wqflask/maintenance/dataset/specials.py
+++ b/wqflask/maintenance/dataset/specials.py
@@ -105,6 +105,9 @@ def bxd_correlations():
outputfile.write("%s\t" % probesetid)
outputfile.write("%s\t" % probesetname)
outputfile.write("%s\t" % genoname)
+ #
+
+ #
outputfile.write("%s\t" % "Overlap Number")
outputfile.write("%s\t" % "Pearson r")
outputfile.write("%s\t" % "Pearson p")
diff --git a/wqflask/maintenance/dataset/utilities.py b/wqflask/maintenance/dataset/utilities.py
index 6033d7b4..76d81f5e 100644
--- a/wqflask/maintenance/dataset/utilities.py
+++ b/wqflask/maintenance/dataset/utilities.py
@@ -17,3 +17,11 @@ def clearspaces(s, default=None):
return s
else:
return default
+
+def to_dic(keys, values):
+ dic = {}
+ for i in range(len(keys)):
+ key = keys[i]
+ value = values[i]
+ dic[key] = value
+ return dic