diff options
author | zsloan | 2015-11-09 17:38:50 +0000 |
---|---|---|
committer | zsloan | 2015-11-09 17:38:50 +0000 |
commit | 74ba4029f0160f0c4708a8c4b291c05184d3993d (patch) | |
tree | e7af5cb1a4849d948d4343cb9e33f75f7869a6ee /wqflask/base | |
parent | f93874f512ee07072bab46bfacc9282df4e12172 (diff) | |
download | genenetwork2-74ba4029f0160f0c4708a8c4b291c05184d3993d.tar.gz |
Fixed issue that caused mapping to not work; for some reason the path to pylmm was wrong
Diffstat (limited to 'wqflask/base')
-rwxr-xr-x | wqflask/base/data_set.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index d6a46c2e..5603fe2e 100755 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -158,7 +158,10 @@ class Markers(object): """Todo: Build in cacheing so it saves us reading the same file more than once""" def __init__(self, name): json_data_fh = open(os.path.join(webqtlConfig.NEWGENODIR + name + '.json')) - markers = json.load(json_data_fh) + try: + markers = json.load(json_data_fh) + except: + markers = [] for marker in markers: if (marker['chr'] != "X") and (marker['chr'] != "Y"): |