ATFutures / upthat

Urban planning and transport health assessment tool
4 stars 1 forks source link

closes #38 #47

Closed mpadge closed 4 years ago

mpadge commented 4 years ago

@Robinlovelace Kinda my fault, kinda your fault, but not so grave given our cracking race to the finish here. I set up that problem with my initial commit of the health tab when i linked the scenario city to the Scenario City button, and gave it the unambiguous name of city_sc rather than city. You then switched that tab off in this commit, and so removed the city_sc variable from the workspace. And so it started crashing. But really i shoulda thought a bit more at the outset there too, so no blame at all your way on that one.

But ... I now hope that you'll merge this PR, then I intend to immediately re-open #38, because it still needs 1-2 more lines ot ensure that it doesn't crash for cities which don't have scenario data (Bristol)... and yep, that means we also need some Bristol scenario data, but i won't leave that up to you whether you want to open an issue on that or not.


Edit: Actually, I'd suggest reinstating the "City" button in the health tab, because it's really good to enable instant visual comparison, rather than having to switch back to maps in order to change city before going to back to scenario tab.