-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add example script to remove rois * changes following @ppouchin 's suggestions in PR * adds me as a contributor
- Loading branch information
1 parent
6efee9c
commit b928ca2
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
<groupId>fr.igred</groupId> | ||
<artifactId>omero_macro-extensions</artifactId> | ||
<version>1.1.0</version> | ||
<version>1.2.0</version> | ||
|
||
<name>ImageJ OMERO macro extensions</name> | ||
<description>Plugin providing macro extensions for OMERO.</description> | ||
|
@@ -53,6 +53,10 @@ | |
<name>Pierre Pouchin</name> | ||
<email>[email protected]</email> | ||
</contributor> | ||
<contributor> | ||
<name>Romain Guiet</name> | ||
<email>[email protected]</email> | ||
</contributor> | ||
</contributors> | ||
|
||
<mailingLists> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/resources/script_templates/OMERO/Macro_Extensions/Remove_rois_dataset.ijm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// @String(label="Username") USERNAME | ||
// @String(label="Password", style='password') PASSWORD | ||
// @String(label="Host", value='wss://workshop.openmicroscopy.org/omero-ws') HOST | ||
// @Integer(label="Port", value=4064) PORT | ||
// @Integer(label="Dataset ID", value=2331) dataset_id | ||
|
||
run("OMERO Extensions"); | ||
|
||
connected = Ext.connectToOMERO(HOST, PORT, USERNAME, PASSWORD); | ||
|
||
|
||
|
||
if(connected == "true") { | ||
images = Ext.list("images", "dataset", dataset_id); | ||
image_ids = split(images, ","); | ||
|
||
for(i=0; i<image_ids.length; i++) { | ||
// Open the image | ||
Ext.removeROIs(image_ids[i]) | ||
} | ||
} | ||
|
||
|
||
Ext.disconnect(); | ||
print("processing done"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters