Feature #675
"Convert to human readable" macro
100%
Description
Need a macro to convert json output to human readable form. Should be only few lines of code.
Updated by Rogers, Chris about 12 years ago
- Assignee changed from Rogers, Chris to Kyberd, Paul
Paul, would you like to code review this? Sort of something you (and others) have requested.
The code is in lp:~chris-rogers/maus/devel/
https://code.launchpad.net/~chris-rogers/maus/devel
Files:
$MAUS_ROOT_DIR/bin/utilities/json_browser.py
$MAUS_ROOT_DIR/tests/integration/test_utilities/test_json_browser.py
Nb: I had a query that I wasn't sure about, which needs a perspective from user. We have a common "run control" thing like the old datacards, I've been trying to make sure everyone uses the common datacards stuff for controlling their code. For things like this, that are pretty much stand alone applications, I wasn't sure whether it would be better to have a few command line arguments defined in the code (as I've done here).
- In the first instance, we get a common interface to all executables but there are hundreds of control parameters that are not relevant to the application.
- In the second instance, we get some executables that have a completely different interface, that may jar with the rest of the code - especially if they start duplicating existing run control variables.
Thoughts, comments appreciated...
Updated by Rogers, Chris almost 12 years ago
- Category set to Crazy Ideas
- Status changed from Open to Closed
- % Done changed from 0 to 100
Done - bin/utilities/json_browser.py
Updated by Rogers, Chris almost 12 years ago
- Target version changed from Future MAUS release to MAUS-v0.0.8