mobie/mobie-utils-python

missing check, view validation

Closed this issue · 4 comments

Hi,

I discovered that the view validation does not check for existence of the colorByColumn column in the linked table.

That is on purpose, colorByColumn is optional (and will default to regionId / labelId)

maybe I wasn't clear enough: If a colorByColumn is specified in the regionDisplay but it points to a non-existing column in the table (like when you rename the columns to abbreviations 😆, it validates as correct but obviously crashes MoBIE.

Ah, that makes sense. I will fix it.

Implemented in #68