From 4fb8e43a357b1bfdf918fe91acfe8bf740ffc8f0 Mon Sep 17 00:00:00 2001 From: DiG Date: Sat, 5 Feb 2022 21:05:19 +0100 Subject: [PATCH] Added config folder with TSV columns for each model --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 8435197..8fa2692 100644 --- a/config.py +++ b/config.py @@ -16,9 +16,9 @@ with open(".modelignore", "r") as file: conf_files = os.listdir( CONFDIR ) keyword = 'your_keyword' for file in conf_files: - if os.path.isfile(file): + if os.path.isfile( os.path.join(CONFDIR,file) ): if file.endwith('.tsv'): eprint( 'Conf file: ', file ) - f = open(os.path.join(CONFDIR,file),'r') + f = open( os.path.join(CONFDIR,file), 'r' ) eprint( file[:-4], f.split() ) f.close() \ No newline at end of file