diff options
Diffstat (limited to 'wqflask/base/data_set/datasetgroup.py')
-rw-r--r-- | wqflask/base/data_set/datasetgroup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/data_set/datasetgroup.py b/wqflask/base/data_set/datasetgroup.py index 90c59a1e..a44cf18d 100644 --- a/wqflask/base/data_set/datasetgroup.py +++ b/wqflask/base/data_set/datasetgroup.py @@ -15,6 +15,7 @@ from wqflask.database import database_connection from utility.configuration import ( locate, flat_files, + get_setting, flat_file_exists, get_setting_bool, locate_ignore_error) @@ -128,7 +129,7 @@ class DatasetGroup: return study_samples def get_genofiles(self): - jsonfile = "%s/%s.json" % (webqtlConfig.GENODIR, self.name) + jsonfile = "%s/%s.json" % (get_setting(app, "WEBQTL_GENODIR"), self.name) try: f = open(jsonfile) except: |