Skip to content

Commit

Permalink
Merge pull request #4 from petebankhead/rc2
Browse files Browse the repository at this point in the history
Update for QuPath v0.3.0-rc2
  • Loading branch information
petebankhead authored Aug 8, 2021
2 parents c9d31f4 + cb2db71 commit f72552e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,24 @@ It has been separated out to its own repository so that it can be developed
independently from the main QuPath project.
And perhaps so someone will fork it and make a better version.


## Installing

To install the Align extension, download the latest `qupath-extension-align-[version].jar` file from [releases](https://github.com/qupath/qupath-extension-align/releases) and drag it onto the main QuPath window.

If you haven't installed any extensions before, you'll be prompted to select a QuPath user directory.
The extension will then be copied to a location inside that directory.

You might then need to restart QuPath (but not your computer).


## Building

You can build the extension with
You can build the extension from source with

```bash
gradlew clean build
```

The output .jar will be under `build/libs`.

## Installing

You'll need to add the extension to QuPath's extensions folder.

The easiest way to do that is to drag the .jar file onto QuPath's main window,
and then allow QuPath to copy it to the right place.

You might then need to restart QuPath (but not your computer).
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ ext.moduleName = 'qupath.extension.align'

description = 'QuPath extension for interactive image alignment'

version = "0.3.0-SNAPSHOT"
version = "0.3.0-rc2"

dependencies {
shadow "io.github.qupath:qupath-gui-fx:0.3.0-SNAPSHOT"
shadow "io.github.qupath:qupath-gui-fx:0.3.0-rc2"
shadow "org.slf4j:slf4j-api:1.7.30"
}

Expand Down
7 changes: 7 additions & 0 deletions src/main/java/qupath/ext/align/AlignExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.controlsfx.control.action.Action;

import qupath.ext.align.gui.InteractiveImageAlignmentCommand;
import qupath.lib.common.Version;
import qupath.lib.gui.ActionTools;
import qupath.lib.gui.ActionTools.ActionDescription;
import qupath.lib.gui.ActionTools.ActionMenu;
Expand Down Expand Up @@ -71,4 +72,10 @@ public String getDescription() {
public GitHubRepo getRepository() {
return GitHubRepo.create(getName(), "qupath", "qupath-extension-align");
}

@Override
public Version getQuPathVersion() {
return Version.parse("0.3.0-rc2");
}

}

0 comments on commit f72552e

Please sign in to comment.