diff options
author | zsloan | 2016-05-18 20:05:51 +0000 |
---|---|---|
committer | zsloan | 2016-05-18 20:05:51 +0000 |
commit | e36ffce0d972334b07ee91b817fc3f30ed3598c4 (patch) | |
tree | efcccdb6feb5a2ac2c8d882eac17e4a9dc496f9e /wqflask/base | |
parent | b7cabb198f7d3c47074da3e6d0d523281aad7e13 (diff) | |
download | genenetwork2-e36ffce0d972334b07ee91b817fc3f30ed3598c4.tar.gz |
Updated dataset selection dropdown menus and fixed error caused by traits with no description
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/trait.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 6c5ca8b2..6b4fff20 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -329,7 +329,7 @@ class GeneralTrait(object): # # description = self.pre_publication_description - if len(description) > 0: + if description: self.description_display = description.strip() else: self.description_display = "" |