Skip to content

qupath_script_runner

Template to show how to run groovy script with QuPath, multi-threaded.

EXCLUDE_LIST = [] module-attribute #

Images names to NOT run the script on.

NTHREADS = 5 module-attribute #

Number of threads to use.

QPROJ_PATH = '/path/to/qupath/project.qproj' module-attribute #

Full path to the QuPath project.

QUIET = True module-attribute #

Use QuPath in quiet mode, eg. with minimal verbosity.

QUPATH_EXE = '/path/to/the/qupath/QuPath-0.5.1 (console).exe' module-attribute #

Path to the QuPath executable (console mode).

SAVE = True module-attribute #

Whether to save the project after the script ran on an image.

SCRIPT_PATH = '/path/to/the/script.groovy' module-attribute #

Path to the groovy script.