diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7aca9b8..e950bc6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,7 +36,7 @@ jobs: MAVEN_USER: ${{ secrets.MAVEN_USER }} MAVEN_PASS: ${{ secrets.MAVEN_PASS }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ inputs.release }} with: name: ${{ github.event.repository.name }}-release-jar diff --git a/build.gradle.kts b/build.gradle.kts index a1bc24e..e134b00 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { qupathExtension { name = "qupath-extension-py4j" - version = "0.1.0-SNAPSHOT" + version = "0.1.0-rc1" group = "io.github.qupath" description = "Connect QuPath to Python using Py4J" automaticModule = "qupath.extension.py4j" diff --git a/src/main/java/qupath/ext/py4j/core/QuPathEntryPoint.java b/src/main/java/qupath/ext/py4j/core/QuPathEntryPoint.java index 64b7676..36c5907 100644 --- a/src/main/java/qupath/ext/py4j/core/QuPathEntryPoint.java +++ b/src/main/java/qupath/ext/py4j/core/QuPathEntryPoint.java @@ -299,7 +299,7 @@ public static List getObjectIds(Collection pathObj */ public static List getMeasurementNames(Collection pathObjects) { return pathObjects.stream() - .flatMap(p -> p.getMeasurementList().getMeasurementNames().stream()) + .flatMap(p -> p.getMeasurementList().getNames().stream()) .distinct() .toList(); }