aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Yan2014-02-04 12:18:20 -0600
committerLei Yan2014-02-04 12:18:20 -0600
commit1a9a509e0b73e9904b3f41246f3fc7f141375efe (patch)
tree886fdd8facd50453985e0fd99131d1aaa18b563d
parent839115abbdf1b7e90da1d4db7758a2f7f8f83037 (diff)
downloadgenenetwork2-1a9a509e0b73e9904b3f41246f3fc7f141375efe.tar.gz
On branch master
-rw-r--r--wqflask/maintenance/dataset/probesets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/maintenance/dataset/probesets.py b/wqflask/maintenance/dataset/probesets.py
index 26d794a8..4da2b2ef 100644
--- a/wqflask/maintenance/dataset/probesets.py
+++ b/wqflask/maintenance/dataset/probesets.py
@@ -89,6 +89,7 @@ def get_normalized_probeset(locus, inbredsetid):
normalized_probeset.append(geno[3])
#
normalized_probesets.append(normalized_probeset)
+ return normalized_probesets
locus="rs3663871"
inbredsetid=1
@@ -98,6 +99,6 @@ file = open('probesets_%s.txt' % (locus), 'w+')
file.write("GN dataset ID\t\n")
file.flush()
for row in results:
- file.write(row[0])
+ file.write(str(row[0]))
file.flush()
file.close()