From 849e6446277ffaff2e08b530b91a0f1886b33e7c Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 22 Jul 2023 22:38:46 +0300 Subject: [PATCH] fix: wrong shuttle_index.json format Each user project info object was wrapped with an extra array. Also added "tiles" property for each user project. --- caravel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/caravel.py b/caravel.py index 979a1f6..4b72312 100644 --- a/caravel.py +++ b/caravel.py @@ -62,9 +62,10 @@ class CaravelConfig(): "macro": module_name, "x": module['x'], "y": module['y'], + "tiles": f"{module['width']}x{module['height']}", "repo": project.git_url, "commit": project.commit_id, - }, + } mux_index_reverse[module_name] = mux_address for project in self.projects: