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.
2 parents 685fa71 + e48e8dd commit 60b4119Copy full SHA for 60b4119
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "jabs-behavior-classifier"
3
-version = "0.32.0"
+version = "0.32.1"
4
license = "Proprietary"
5
repository = "https://github.com/KumarLabJax/JABS-behavior-classifier"
6
description = ""
src/jabs/ui/behavior_search_dialog.py
@@ -36,8 +36,8 @@ def run(self):
36
video_manager = self.project.video_manager
37
for video in video_manager.videos:
38
anno_dict = video_manager.load_annotations(video)
39
- if "annotations" in anno_dict:
40
- for annotation in anno_dict["annotations"]:
+ if anno_dict is not None:
+ for annotation in anno_dict.get("annotations", []):
41
if "tag" in annotation:
42
all_tags.add(annotation["tag"])
43
0 commit comments