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