I am new to QuPath and I am hoping to batch process some whole side images that I have annotated manually with different features.
I was hoping to use the count annotations in project script on Pete’s very helpful blog: https://petebankhead.github.io/qupath/scripting/2018/03/15/script-count-annotations-in-project.html
I have changed the import on line 15 from
import qupath.lib.scripting.QPEx to import qupath.lib.gui.scripting.QPEx suggested by another user’s question but I seem to get a script error that I can’t figure out at line 35 -
No signature of method: static qupath.lib.gui.QuPathGUI.getImageDataFile() is applicable for argument types: (qupath.lib.projects.DefaultProject, qupath.lib.projects.DefaultProject$DefaultProjectImageEntry) values: (project, entry)
I am using QuPath version 0.2.0-m2, the images are .czi
Any advice would be greatly appreciated.