import json from pathlib import Path with open(Path(__file__).resolve().parent.joinpath('config.json')) as f: config = json.load(f) ICI_DATA_PATH = Path(config["ICi_data_path"]) FIGURES_PATH = Path(config["figures_path"]) FIGURES_DATA_PATH = Path(config["figures_data_path"]) EXPANSION_DATA_PATH = Path(config["expansion_data_path"])