From 08ff22d0a5ad5dde52977c837588e058de0abe04 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Dec 2020 21:45:33 +0100 Subject: set json values to true, not "true" --- convert.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convert.zsh b/convert.zsh index 4efe7e2..9672fe1 100755 --- a/convert.zsh +++ b/convert.zsh @@ -329,12 +329,13 @@ extract_wagons_heuristic $icet_411_s1_offset $icet_411_s1_types extract_wagons_heuristic $icet_411_s2_offset $icet_411_s2_types extract_wagons_heuristic $icet_415_offset $icet_415_types extract_wagons_heuristic $ic1_offset $ic1_types + extract_wagons $ic2_bt_offset $ic2_bt_bbox $ic2_bt_types extract_wagons $ic2_sk_offset $ic2_sk_bbox $ic2_sk_types rm tmp-* -perl -MJSON -E 'say JSON->new->canonical->encode({map {$_ => true} @ARGV})' \ +perl -MJSON -E 'say JSON->new->canonical->encode({map {$_ => \1} @ARGV})' \ png/*.png(:t:r) > png/wagons.json chmod -R a+rX png -- cgit v1.2.3