From 1a9a509e0b73e9904b3f41246f3fc7f141375efe Mon Sep 17 00:00:00 2001 From: Lei Yan Date: Tue, 4 Feb 2014 12:18:20 -0600 Subject: On branch master --- wqflask/maintenance/dataset/probesets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wqflask/maintenance/dataset') 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() -- cgit v1.2.3