Skip to content

Commit 88a7fc1

Browse files
committed
Update catalog for spotiflow
1 parent 0cd8a7c commit 88a7fc1

File tree

2 files changed

+32
-11
lines changed

2 files changed

+32
-11
lines changed

biop-catalog-generator.groovy

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* - ABBA extension - Atlas alignment
1010
* - Warpy extension - Image transformations
1111
* - BIOP extension - Utility functions
12+
* - Spotiflow extension - Point detection
1213
*
1314
* Usage: Run in QuPath script editor. Update 'savingFolder' path as needed.
1415
* Output: catalog.json file for use with QuPath extension manager
@@ -19,8 +20,8 @@
1920
*/
2021

2122
// --------------- YOU NEED TO MODIFY THIS VARIABLE BEFORE RUNNING IT
22-
def savingFolder = "F:/IAGitLab/qupath-biop-catalog/catalog.json" // Nico
23-
//def savingFolder = "D:/Remy/Github-projects/qupath-biop-catalog/catalog.json" // Rémy
23+
//def savingFolder = "F:/IAGitLab/qupath-biop-catalog/catalog.json" // Nico
24+
def savingFolder = "D:/Remy/Github-projects/qupath-biop-catalog/catalog.json" // Rémy
2425

2526

2627
// Versions for packages which are common between different extensions
@@ -62,7 +63,7 @@ var cellposeExtension = new Extension(
6263
"QuPath Cellpose extension",
6364
"QuPath extension to use Cellpose",
6465
"BIOP",
65-
new URI(gh_biop_url+"qupath-extension-cellpose"),
66+
new URI(gh_biop_url + "qupath-extension-cellpose"),
6667
false,
6768
cellposeVersionList
6869
)
@@ -93,7 +94,7 @@ var warpyExtension = new Extension(
9394
"QuPath Warpy extension",
9495
"Warpy - QuPath extension that supports transformations (affine, spline) of images.",
9596
"BIOP",
96-
new URI("https://github.com/BIOP/qupath-extension-warpy"),
97+
new URI(gh_biop_url + "qupath-extension-warpy"),
9798
false,
9899
warpyVersionList
99100
)
@@ -126,19 +127,19 @@ var abbaExtension = new Extension(
126127
"QuPath ABBA extension",
127128
"QuPath extension to use Aligning Big Brain and Atlases",
128129
"BIOP",
129-
new URI("https://github.com/BIOP/qupath-extension-abba"),
130+
new URI(gh_biop_url + "qupath-extension-abba"),
130131
false,
131132
abbaVersionList
132133
)
133134
extensionList.add(abbaExtension)
134135

135136
// spotiflow extension
136-
/*def spotiflowTagList = ["v0.2.0"]
137+
def spotiflowTagList = ["v0.2.0"]
137138
def spotiflowVersionList = []
138139
spotiflowTagList.each{tag->
139140
var spotiflowRelease = new Release(
140141
tag,
141-
new URI("https://github.com/BIOP/qupath-extension-spotiflow/releases/download/"+tag+"/qupath-extension-spotiflow-"+tag[1..-1]+".jar"),
142+
new URI(gh_biop_url + "qupath-extension-spotiflow/releases/download/"+tag+"/qupath-extension-spotiflow-"+tag[1..-1]+".jar"),
142143
null,
143144
null,
144145
null,
@@ -151,11 +152,11 @@ var spotiflowExtension = new Extension(
151152
"QuPath Spotiflow extension",
152153
"QuPath extension to use Spotiflow",
153154
"BIOP",
154-
new URI("https://github.com/BIOP/qupath-extension-spotiflow"),
155+
new URI(gh_biop_url + "qupath-extension-spotiflow"),
155156
false,
156157
spotiflowVersionList
157158
)
158-
extensionList.add(spotiflowExtension)*/
159+
extensionList.add(spotiflowExtension)
159160

160161
/*
161162
// hrm extension
@@ -194,7 +195,7 @@ def biopVersionList = []
194195
biopTagList.each{tag->
195196
var biopRelease = new Release(
196197
tag,
197-
new URI("https://github.com/BIOP/qupath-extension-biop/releases/download/"+tag+"/qupath-extension-biop-"+tag[1..-1]+".jar"),
198+
new URI(gh_biop_url + "qupath-extension-biop/releases/download/"+tag+"/qupath-extension-biop-"+tag[1..-1]+".jar"),
198199
null,
199200
null,
200201
null,
@@ -207,7 +208,7 @@ var biopExtension = new Extension(
207208
"QuPath BIOP extension",
208209
"QuPath extension containing utilitiy functions by the BIOP",
209210
"BIOP",
210-
new URI("https://github.com/BIOP/qupath-extension-biop"),
211+
new URI(gh_biop_url + "qupath-extension-biop"),
211212
false,
212213
biopVersionList
213214
)

catalog.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,26 @@
7575
}
7676
]
7777
},
78+
{
79+
"name": "QuPath Spotiflow extension",
80+
"description": "QuPath extension to use Spotiflow",
81+
"author": "BIOP",
82+
"homepage": "https://github.com/BIOP/qupath-extension-spotiflow",
83+
"starred": false,
84+
"releases": [
85+
{
86+
"name": "v0.2.0",
87+
"main_url": "https://github.com/BIOP/qupath-extension-spotiflow/releases/download/v0.2.0/qupath-extension-spotiflow-0.2.0.jar",
88+
"required_dependency_urls": [],
89+
"optional_dependency_urls": [],
90+
"javadoc_urls": [],
91+
"version_range": {
92+
"min": "v0.6.0",
93+
"excludes": []
94+
}
95+
}
96+
]
97+
},
7898
{
7999
"name": "QuPath BIOP extension",
80100
"description": "QuPath extension containing utilitiy functions by the BIOP",

0 commit comments

Comments
 (0)