aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2021-08-12 23:17:04 +0000
committerzsloan2021-08-12 23:17:04 +0000
commit98683bd5cc809aa03e0bd58a67733498b4f56a9d (patch)
tree42bc587d86f6f57fb4b8110afff1f7d56cdbfe72 /wqflask/base
parent308860f05b87e5fc3899230b7312be9543e6c299 (diff)
downloadgenenetwork2-98683bd5cc809aa03e0bd58a67733498b4f56a9d.tar.gz
Fix the way the study_sample_lists path is set and checked
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index b8f2f9fb..1042e1bd 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -399,7 +399,7 @@ class DatasetGroup:
self.parlist = [maternal, paternal]
def get_study_samplelists(self):
- study_sample_file = "%s/study_sample_lists/%s.json" % (webqtlConfig.GENODIR, self.name)
+ study_sample_file = locate_ignore_error(self.name + ".json", 'study_sample_lists')
try:
f = open(study_sample_file)
except: