aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorLei Yan2013-05-30 23:14:50 +0000
committerLei Yan2013-05-30 23:14:50 +0000
commit466be48f92d4943995c7a3e7bcb9fd1efd775bf6 (patch)
tree3afd09770d889176cf96b9be4425daddda00626d /wqflask/base/trait.py
parentcb639316fe007c8bcad731976e8b095dee59115e (diff)
downloadgenenetwork2-466be48f92d4943995c7a3e7bcb9fd1efd775bf6.tar.gz
Rewrote some code in get_trait_info in dataset.py
Added spearman correlation to show_corr_results and template
Diffstat (limited to 'wqflask/base/trait.py')
-rwxr-xr-xwqflask/base/trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 7c1c035c..5fde114f 100755
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -15,7 +15,7 @@ from pprint import pformat as pf
from flask import Flask, g
-class GeneralTrait:
+class GeneralTrait(object):
"""
Trait class defines a trait in webqtl, can be either Microarray,
Published phenotype, genotype, or user input trait
@@ -78,7 +78,7 @@ class GeneralTrait:
#desc = self.handle_pca(desc)
stringy = desc
return stringy
-
+
def display_name(self):