communicate when files are downloaded

This commit is contained in:
Justus Kuhlmann 2025-11-27 11:16:00 +01:00
commit d8ec6ef40e
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -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