From d8ec6ef40e30f7bb5545d17b230805f23569dcd5 Mon Sep 17 00:00:00 2001 From: Justus Kuhlmann Date: Thu, 27 Nov 2025 11:16:00 +0100 Subject: [PATCH] communicate when files are downloaded --- corrlib/meas_io.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/corrlib/meas_io.py b/corrlib/meas_io.py index b98eb6e..49b95cf 100644 --- a/corrlib/meas_io.py +++ b/corrlib/meas_io.py @@ -168,8 +168,11 @@ def cache_path(path, file, key): def preload(path: str, file: str): + print("Loading data...") dl.get(os.path.join(path, file), dataset=path) + print("> downloaded file") filedict = pj.load_json_dict(os.path.join(path, file)) + print("> read file") return filedict