diff options
author | Zachary Sloan | 2013-11-25 22:53:46 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-11-25 22:53:46 +0000 |
commit | e7142c0785a9680b56d789f1db0a738d6172de55 (patch) | |
tree | 8cfa0efb5b9bdca3438da30820806a364390c2ff /wqflask/base/data_set.py | |
parent | 5143738870b8872a915432225acf01508de620ee (diff) | |
download | genenetwork2-e7142c0785a9680b56d789f1db0a738d6172de55.tar.gz |
Got the interval mapping results into a table
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-x | wqflask/base/data_set.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index cd8c1ac1..8296adea 100755 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -318,12 +318,17 @@ class DatasetGroup(object): #determine default genotype object if self.incparentsf1 and genotype_1.type != "intercross": - self.genotype = genotype_2 + #self.genotype = genotype_2 + genotype = genotype_2 else: self.incparentsf1 = 0 - self.genotype = genotype_1 + #self.genotype = genotype_1 + genotype = genotype_1 - self.samplelist = list(self.genotype.prgy) + #self.samplelist = list(self.genotype.prgy) + self.samplelist = list(genotype.prgy) + + return genotype #class DataSets(object): @@ -1084,6 +1089,7 @@ class MrnaAssayDataSet(DataSet): Strain.Name """ % (escape(trait), escape(self.name)) results = g.db.execute(query).fetchall() + print("RETRIEVED RESULTS HERE:", results) return results |