We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af47368 commit 52a7a9bCopy full SHA for 52a7a9b
src/superannotate/lib/app/analytics/aggregators.py
@@ -209,9 +209,9 @@ def aggregate_annotations_as_df(self):
209
constances.ProjectType.PIXEL
210
):
211
return self.aggregate_image_annotations_as_df(annotation_paths)
212
- elif self.project_type == constances.ProjectType.VIDEO.name:
+ elif self.project_type is constances.ProjectType.VIDEO:
213
return self.aggregate_video_annotations_as_df(annotation_paths)
214
- elif self.project_type == constances.ProjectType.DOCUMENT.name:
+ elif self.project_type is constances.ProjectType.DOCUMENT:
215
return self.aggregate_document_annotations_as_df(annotation_paths)
216
217
0 commit comments