If you run python examples/add_labels.py from the main napari repo you get an example with 8 coins painted colors. If you run the featurizer you get 8 rows, one for each label.
If you now though set the layer.selected_label = 10 (either from GUI/ of console) and paint a label 10 and run the featurizer you get an error, presumable because the missing 9. If you paint some 9 it then works
If you run
python examples/add_labels.py
from the main napari repo you get an example with 8 coins painted colors. If you run the featurizer you get 8 rows, one for each label.If you now though set the
layer.selected_label = 10
(either from GUI/ of console) and paint a label10
and run the featurizer you get an error, presumable because the missing9
. If you paint some9
it then works