diff options
author | Lei Yan | 2017-08-02 22:47:35 +0000 |
---|---|---|
committer | Lei Yan | 2017-08-02 22:47:35 +0000 |
commit | b1dd8959f451f9aabf9a46a98071888053e6266e (patch) | |
tree | 19762ae3af9630c8f280634e6af4e6ad59cb4f34 /wqflask/base/trait.py | |
parent | 255aace685b7919808e93ad3c8c47334b0496eb9 (diff) | |
parent | d86f07f616d6892707dd26c87bf70db1a50f070a (diff) | |
download | genenetwork2-b1dd8959f451f9aabf9a46a98071888053e6266e.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index e22a51e4..acc055d8 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -206,6 +206,8 @@ class GeneralTrait(object): formatted = self.description if self.probe_target_description: formatted += "; " + self.probe_target_description + else: + formatted = "Not available" elif self.dataset.type == 'Publish': if self.confidential: formatted = self.pre_publication_description @@ -290,7 +292,6 @@ def retrieve_sample_data(trait, dataset, samplelist=None): name, value, variance, num_cases, name2 = item if not samplelist or (samplelist and name in samplelist): trait.data[name] = webqtlCaseData(*item) #name, value, variance, num_cases) - return trait def convert_location_to_value(chromosome, mb): |