From 9cfa510669848b08cf195b0c121b8ea68ee38ea5 Mon Sep 17 00:00:00 2001 From: Yann Forget Date: Sun, 3 Nov 2024 21:08:12 +0100 Subject: [PATCH] fix(create-cart-diagram): wrong dataset filenames --- create-cart-diagram/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-cart-diagram/pipeline.py b/create-cart-diagram/pipeline.py index 6b8d341..16ef433 100644 --- a/create-cart-diagram/pipeline.py +++ b/create-cart-diagram/pipeline.py @@ -104,9 +104,9 @@ def load_dataset( urban: list[dict] = None rural: list[dict] = None for f in ds.files: - if f.filename == "urban_frame.json": + if f.filename == "frame_urban.json": urban = json.loads(f.read().decode()) - if f.filename == "rural_frame.json": + if f.filename == "frame_rural.json": rural = json.loads(f.read().decode()) if urban is None: