Case-insensitive option can cause charts to fail

Issue #757 resolved
David Platten created an issue

If a user selects the case-insensitive chart category option and the chart categories include a blank (NoneType) then the charts fail. This is because lambda function on line 180 of chart_functions.py cannot tolerate a NoneType value due to the use of .lower().

return_structure['summary'][index] = sorted(return_structure['summary'][index], key=lambda k: k['db_series_names_to_use'].lower())

Comments (5)

  1. Log in to comment