aboutsummaryrefslogtreecommitdiff
path: root/gn2/base/data_set
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/base/data_set')
-rw-r--r--gn2/base/data_set/genotypedataset.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gn2/base/data_set/genotypedataset.py b/gn2/base/data_set/genotypedataset.py
index 77af1dad..a5b65772 100644
--- a/gn2/base/data_set/genotypedataset.py
+++ b/gn2/base/data_set/genotypedataset.py
@@ -50,7 +50,7 @@ GenoFreeze.Name = %s"""
with database_connection(get_setting("SQL_URI")) as conn, conn.cursor() as cursor:
cursor.execute(
"SELECT Strain.Name, GenoData.value, "
- "GenoSE.error, 'N/A', Strain.Name2 "
+ "GenoSE.error, NULL, Strain.Name2 "
"FROM (GenoData, GenoFreeze, Strain, Geno, "
"GenoXRef) LEFT JOIN GenoSE ON "
"(GenoSE.DataId = GenoData.Id AND "
@@ -68,9 +68,9 @@ GenoFreeze.Name = %s"""
if self.group.name in webqtlUtil.ParInfo:
f1_1, f1_2, ref, nonref = webqtlUtil.ParInfo[self.group.name]
- results.append([f1_1, 0, None, "N/A", f1_1])
- results.append([f1_2, 0, None, "N/A", f1_2])
- results.append([ref, -1, None, "N/A", ref])
- results.append([nonref, 1, None, "N/A", nonref])
+ results.append([f1_1, 0, None, None, f1_1])
+ results.append([f1_2, 0, None, None, f1_2])
+ results.append([ref, -1, None, None, ref])
+ results.append([nonref, 1, None, None, nonref])
return results