+ try {
+ return ann_class_color_.at(ann_class_id);
+ } catch (std::out_of_range &e) {
+ qWarning() << "Warning: annotation type" << decoder_->get_ann_class_by_id(ann_class_id)->name
+ << "(" << ann_class_id << ")" << "not assigned to any annotation row!";
+ return QColor(20, 20, 20);
+ }