Skip to content
Snippets Groups Projects
Commit e4ec07d6 authored by fsdavid's avatar fsdavid
Browse files

Minory fix

parent 7252a7c7
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ class Annotation: ...@@ -171,7 +171,7 @@ class Annotation:
for ann in self.annotations.values(): for ann in self.annotations.values():
# Filter by template if id exists # Filter by template if id exists
if (template_id and template_id != ann['coordinateSpace']['@id']) \ if not ann or (template_id and template_id != ann['coordinateSpace']['@id']) \
or (annotation_id and annotation_id != ann['@id']): or (annotation_id and annotation_id != ann['@id']):
continue continue
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment