diff options
author | Zachary Sloan | 2014-06-06 22:00:30 +0000 |
---|---|---|
committer | Zachary Sloan | 2014-06-06 22:00:30 +0000 |
commit | 0bdeca3490c1ddbb7fa29165893a97f90eeefba7 (patch) | |
tree | 3ea8786848218f459fd8101f6b49a1b7587e08fc /wqflask/base/trait.py | |
parent | 515662ecabd5d3a90eef6987aa5f8d4dbe63611f (diff) | |
download | genenetwork2-0bdeca3490c1ddbb7fa29165893a97f90eeefba7.tar.gz |
Implimented Karl Broman's lodchart code for the interval mapping function.
Suggestive/significant bars and additive effect curve added
Diffstat (limited to 'wqflask/base/trait.py')
-rwxr-xr-x | wqflask/base/trait.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 712d9af5..3f80d4a4 100755 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -40,6 +40,7 @@ class GeneralTrait(object): else: self.dataset = kw.get('dataset') self.name = kw.get('name') # Trait ID, ProbeSet ID, Published ID, etc. + print("THE NAME IS:", self.name) self.cellid = kw.get('cellid') self.identification = kw.get('identification', 'un-named trait') self.haveinfo = kw.get('haveinfo', False) @@ -295,6 +296,9 @@ class GeneralTrait(object): PublishXRef.InbredSetId = PublishFreeze.InbredSetId AND PublishFreeze.Id = %s """ % (self.name, self.dataset.id) + + print("query is:", query) + trait_info = g.db.execute(query).fetchone() #XZ, 05/08/2009: Xiaodong add this block to use ProbeSet.Id to find the probeset instead of just using ProbeSet.Name #XZ, 05/08/2009: to avoid the problem of same probeset name from different platforms. |