aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorLei Yan2013-06-11 23:24:38 +0000
committerLei Yan2013-06-11 23:24:38 +0000
commit3b047d589fa89ddd9aff852d4f2a00c580eb7243 (patch)
tree09d236010018ac536a9b6c7ab7f36806d0eeb2de /wqflask/base/data_set.py
parent466be48f92d4943995c7a3e7bcb9fd1efd775bf6 (diff)
downloadgenenetwork2-3b047d589fa89ddd9aff852d4f2a00c580eb7243.tar.gz
Put trait info for correlation results page into a dictionary instead
of storing list of GeneralTrait objects Added print statements to track memory usage
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-xwqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 4c5c46a5..0c7676c4 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -809,7 +809,7 @@ class MrnaAssayDataSet(DataSet):
this_trait.LRS_location_repr = 'Chr %s: %.4f Mb' % (lrs_chr, float(lrs_mb))
- def convert_location_to_value(chromosome, mb):
+ def convert_location_to_value(self, chromosome, mb):
try:
location_value = int(chromosome)*1000 + float(mb)
except ValueError: