Skip to content

Adding label type column in Label Statistics

Sam Horvath requested to merge github/fork/rweiss42/master into master

Created by: rweiss42

The idea is to add a column to the table in Label Statistics that contains the name of the label taken from the label node's color node by GetColorName(i). It also adds this to the CSV output.

It may be better to add this information to the labelStats dictionary. The reason I'm doing it outside of this is because I noticed that we are casting the data in labelStats to float when adding to the table. So instead of checking in the loop whether we are currently adding the label name and not trying to cast, I am just doing it outside of the loop (and therefore outside of the labelStats dictionary).

Is "type" the most appropriate word to use? Should it be "name" instead?

Merge request reports