Skip to content

Commit ef313a2

Browse files
authored
Merge pull request #13 from Rylern/main
Adapt to QuPath 0.6
2 parents e2b34a2 + 5368d75 commit ef313a2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies {
1414

1515
implementation(libs.bundles.qupath)
1616
implementation(libs.bundles.logging)
17+
implementation(libs.qupath.fxtras)
1718

1819
// For testing
1920
testImplementation(libs.junit)

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pluginManagement {
88
}
99

1010
qupath {
11-
version = "0.5.0"
11+
version = "0.6.0-SNAPSHOT"
1212
}
1313

1414
// Apply QuPath Gradle settings plugin to handle configuration

src/main/java/qupath/ext/align/gui/ImageAlignmentPane.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ public ImageAlignmentPane(final QuPathGUI qupath) {
409409
ImageData<BufferedImage> imageDataBase = viewer.getImageData();
410410
ImageData<BufferedImage> imageDataSelected = selectedImageData.get();
411411
if (imageDataBase == null) {
412-
Dialogs.showNoImageError("Auto-alignment");
412+
Dialogs.showErrorMessage("Auto-alignment", "No image selected");
413413
return;
414414
}
415415
if (imageDataSelected == null) {
@@ -454,7 +454,7 @@ public ImageAlignmentPane(final QuPathGUI qupath) {
454454
}
455455
if (otherHierarchy != null) {
456456
logger.info("Adding objects!");
457-
otherHierarchy.addPathObjects(newObjects);
457+
otherHierarchy.addObjects(newObjects);
458458
try {
459459
selectedEntry.saveImageData(imageDataSelected);
460460
} catch (IOException e1) {

0 commit comments

Comments
 (0)