Add width_r : local image width in a group

Check consistency of boxes wrt width_r
This commit is contained in:
2026-02-27 11:49:27 +01:00
parent 5b8a37263d
commit 04a1ef447e
3 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def make_dictionary(root_dir):
try:
with open(jf, 'r', encoding='utf-8') as f:
coord_list = json.load(f)
# Format: [["id", x, y], ...]
# Format: [["id", x, y, width_r, "label"], ...]
for entry in coord_list:
if entry[0] == student_id:
coordinates = (entry[1], entry[2])