From 0b1c5c75924efa2e652f2822fe1f877c62d20e0c Mon Sep 17 00:00:00 2001 From: basti Date: Tue, 4 Dec 2018 13:34:39 +0100 Subject: [PATCH] Changed config locations --- bin/Modules/Ensembl/ActivityCategorizer.py | 2 +- bin/Modules/ucsc/ucsc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/Modules/Ensembl/ActivityCategorizer.py b/bin/Modules/Ensembl/ActivityCategorizer.py index 8fee867..fa204ae 100644 --- a/bin/Modules/Ensembl/ActivityCategorizer.py +++ b/bin/Modules/Ensembl/ActivityCategorizer.py @@ -32,7 +32,7 @@ def get_categorization(self): def read_config(self, organism): c_dict = {} - path_to_config = os.path.join("./config/celltypes_"+organism+".json") + path_to_config = os.path.join("../config/celltypes_"+organism+".json") with open(path_to_config) as input: data = json.loads(input.read()) for x in data: diff --git a/bin/Modules/ucsc/ucsc.py b/bin/Modules/ucsc/ucsc.py index 4fbad78..9d10108 100644 --- a/bin/Modules/ucsc/ucsc.py +++ b/bin/Modules/ucsc/ucsc.py @@ -66,7 +66,7 @@ def get_organism_id(org): @staticmethod def get_activity_categories(organism): - path_to_config = os.path.join("./config/celltypes_" + organism + ".json") + path_to_config = os.path.join("../config/celltypes_" + organism + ".json") categories = {} with open(path_to_config) as input_file: data = json.loads(input_file.read())