Skip to content

Commit

Permalink
fix(create-cart-diagram): wrong dataset filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
yannforget committed Nov 3, 2024
1 parent 0d727f1 commit 9cfa510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-cart-diagram/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9cfa510

Please sign in to comment.