Skip to content

Commit

Permalink
Replace acquisition key before manager call
Browse files Browse the repository at this point in the history
Replace acquisition by plateacquisition expected by manager.getBatchAnnotationCounts
  • Loading branch information
Tom-TBT authored Dec 5, 2023
1 parent 604d527 commit 7bbb772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omeroweb/webclient/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2312,8 +2312,9 @@ def batch_annotate(request, conn=None, **kwargs):
context["canDownload"] = manager.canDownload(objs)
context["template"] = "webclient/annotations/batch_annotate.html"
context["webclient_path"] = reverse("webindex")
objs["plateacquisition"] = objs.pop("acquisition")
context["annotationCounts"] = manager.getBatchAnnotationCounts(
getObjects(request, conn)
objs
)
return context

Expand Down

0 comments on commit 7bbb772

Please sign in to comment.