The main change is to take the configuration input as a python literal, rather than json. Now you can add comments! Plus the host of other syntactical conveniences, like single quotes, dangling commas, and tuples.
Also added some input validation to some of the plugins, and a few corrections to test-gen-config. Unfortunately the result remains empty histograms, so some more debugging needed.
Using tuples as a key for data is a bit delicate, because accessing the field then requires exactly the same ordering, which can be a little tricky to predict (this was a bigger problem with json, because lists seem to get sorted when turned into tuples, which sometimes changed the order of the elements).
The main change is to take the configuration input as a python literal, rather than json. Now you can add comments! Plus the host of other syntactical conveniences, like single quotes, dangling commas, and tuples.
Also added some input validation to some of the plugins, and a few corrections to test-gen-config. Unfortunately the result remains empty histograms, so some more debugging needed.
Using tuples as a key for data is a bit delicate, because accessing the field then requires exactly the same ordering, which can be a little tricky to predict (this was a bigger problem with json, because lists seem to get sorted when turned into tuples, which sometimes changed the order of the elements).