Skip to content
Snippets Groups Projects
Commit e9c654d4 authored by valentin.emiya's avatar valentin.emiya
Browse files

update CI

parent 0b4b08a2
Branches
Tags
No related merge requests found
Pipeline #5109 failed
......@@ -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'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment