diff options
author | zsloan | 2015-05-22 21:47:48 +0000 |
---|---|---|
committer | zsloan | 2015-05-22 21:47:48 +0000 |
commit | 809990fca27c0bae3573c0572c384cb6f6f3325d (patch) | |
tree | acc0c8f346629716d1f2b6d5ecda1c3226447187 /wqflask/base/trait.py | |
parent | cce1715090f0ef7579881c0b9de49b3a49f5a249 (diff) | |
download | genenetwork2-809990fca27c0bae3573c0572c384cb6f6f3325d.tar.gz |
Fixed issue where correlation didn't work for human traits (and probably some others)
Diffstat (limited to 'wqflask/base/trait.py')
-rwxr-xr-x | wqflask/base/trait.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index 8930c917..7f1170a9 100755 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -423,6 +423,8 @@ class GeneralTrait(object): if result: self.locus_chr = result[0] self.locus_mb = result[1] + else: + self.locus = self.locus_chr = self.locus_mb = "" else: self.locus = self.locus_chr = self.locus_mb = "" else: |