aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorZachary Sloan2013-05-31 16:01:31 +0000
committerZachary Sloan2013-05-31 16:01:31 +0000
commit43eb99c11d8ef371bba926a3a63bf599b56820ae (patch)
tree74381fe2af659b13ef438c09624cffafcbb60c2e /wqflask/base/trait.py
parentaeb0e9b723c296709381807af136ccc33b84365e (diff)
downloadgenenetwork2-43eb99c11d8ef371bba926a3a63bf599b56820ae.tar.gz
Fixed the location column for the quick search page
Began writing some jquery to automatically open the first tab within each species tab on the quick search page (not done yet)
Diffstat (limited to 'wqflask/base/trait.py')
-rwxr-xr-xwqflask/base/trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 7c1c035c..dde8b8d8 100755
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -302,7 +302,7 @@ class GeneralTrait:
#XZ: assign SQL query result to trait attributes.
for i, field in enumerate(self.dataset.display_fields):
- setattr(self, field, traitInfo[i])
+ setattr(self, field, str(traitInfo[i]))
if self.dataset.type == 'Publish':
self.confidential = 0