From 74ba4029f0160f0c4708a8c4b291c05184d3993d Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 9 Nov 2015 17:38:50 +0000 Subject: Fixed issue that caused mapping to not work; for some reason the path to pylmm was wrong --- wqflask/base/data_set.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wqflask/base/data_set.py') 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"): -- cgit v1.2.3