]> jspc29.x-matter.uni-frankfurt.de Git - mvd_epics.git/commit
DASH: use simplejson for proper float('nan') -> null
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Mon, 28 Aug 2017 15:29:03 +0000 (17:29 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Mon, 28 Aug 2017 15:29:03 +0000 (17:29 +0200)
commit5eebb6b89d0c067aa4a54ad2e1e3cbe179c95050
treebe7748b796d928c935400f2799691ab43fb61801
parentfa74f056e115632ccfee0774fa90c4033d641280
DASH: use simplejson for proper  float('nan') -> null

This fixes a regression introduced in 133fc27
where the pv_overview would not work anymore.

Now the logic is: Anything in the local state of the server
can contain float('nan'). When sent to the browser, those
values will be replaced with the JS/JSON null type.
python_suite/dashboard/dashboard.py
python_suite/dashboard/requirements.txt