From e9c654d4054610ce5f8d36d13f7472f7f173c2ed Mon Sep 17 00:00:00 2001 From: "valentin.emiya" <valentin.emiya@lif.univ-mrs.fr> Date: Wed, 3 Jun 2020 21:43:09 +0200 Subject: [PATCH] update CI --- python/tffpy/tests/ci_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/tffpy/tests/ci_config.py b/python/tffpy/tests/ci_config.py index 56bc304..e052dc2 100644 --- a/python/tffpy/tests/ci_config.py +++ b/python/tffpy/tests/ci_config.py @@ -18,9 +18,9 @@ if __name__ == '__main__': generate_config() config = ConfigParser() config.read(config_file) - print(len(Path(__file__).parents)) - print(list(Path(__file__).parents)) - data_path = Path(__file__).parents[3].absolute() / 'data' + print(len(Path(__file__).absolute().parents)) + print(list(Path(__file__).absolute().parents)) + data_path = Path(__file__).absolute().parents[3] / 'data' print('Data path:', str(data_path)) config.set('DATA', 'data_path', str(data_path)) config.write(open(config_file, 'w')) -- GitLab