Failure to calculate median chart values was not due to a problem with my database: an OpenREM 0.10 install on python 2.7 is able to calculate medians from exactly the same database that when used with a python 3.7-based Django 2.2 version of OpenREM results in failure. I have replaced the median calculation with a simpler solution from here: https://gist.github.com/rdmurphy/3f73c7b1826cacee34f6c2a855b12e2e. This does not require the special median migration in order to work, which is a bonus. References issue #788 and #789
Currently it changes all the skin map code because I had left that code previously, so please revert those changes after you have run black. I think the skin map changes will not make 1.0 now, so I will run it through black after all, in a different branch.
Hmm. I haven’t dared to look at autodocumentation for a long time!
Removed ABC use and import to see if Codacy is happy; code still works OK. References issue #789