Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
petebankhead committed Sep 2, 2021
2 parents 47a8ed1 + f72552e commit 7aae8cf
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 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).
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ plugins {
repositories {
// mavenLocal()
mavenCentral()

maven {
url "https://maven.scijava.org/content/repositories/releases"
}

maven {
url "https://maven.scijava.org/content/repositories/snapshots"
}

}

ext.moduleName = 'qupath.extension.align'
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 7aae8cf

Please sign in to comment.