From a540cf21d6e23b1b86c77e3212863ca61f0cf8f5 Mon Sep 17 00:00:00 2001 From: Christian Tischer Date: Tue, 23 Jul 2024 14:43:18 +0200 Subject: [PATCH] Version bump --- pom.xml | 2 +- .../BacteriaHaloQuantification.java | 13 +++++-------- src/test/resources/collections/blobs-grid-table.txt | 5 +++++ 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 src/test/resources/collections/blobs-grid-table.txt diff --git a/pom.xml b/pom.xml index d45f358c..2600be0f 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.embl.mobie mobie-viewer-fiji - 5.3.2-SNAPSHOT + 5.3.4-SNAPSHOT diff --git a/src/test/java/projects/bacteria_halo_quantification/BacteriaHaloQuantification.java b/src/test/java/projects/bacteria_halo_quantification/BacteriaHaloQuantification.java index f413f1d6..0daf433b 100644 --- a/src/test/java/projects/bacteria_halo_quantification/BacteriaHaloQuantification.java +++ b/src/test/java/projects/bacteria_halo_quantification/BacteriaHaloQuantification.java @@ -1,6 +1,7 @@ package projects.bacteria_halo_quantification; import net.imagej.ImageJ; +import org.embl.mobie.command.open.OpenImageAndLabelsCommand; import org.embl.mobie.command.open.OpenMultipleImagesAndLabelsCommand; import java.io.File; @@ -11,15 +12,11 @@ public static void main( String[] args ) { new ImageJ().ui().showUI(); - OpenMultipleImagesAndLabelsCommand command = new OpenMultipleImagesAndLabelsCommand(); - + OpenImageAndLabelsCommand command = new OpenImageAndLabelsCommand(); String root = "/Users/tischer/Documents/bacteria-halo-quantification-data/many_images_output/"; - //String root = "/Users/tischer/Documents/bacteria-halo-quantification-data/few_images_output/"; - command.image0 = new File( root + ".*_intensities.tiff" ); - //command.image1 = new File( root + ".*_bg_mask.tiff" ); - - command.labels0 = new File( root + ".*_halo_labels.tiff" ); - command.table0 = new File( root + ".*_measurements.csv" ); + command.image = new File( root + ".*_intensities.tiff" ); + command.labels = new File( root + ".*_halo_labels.tiff" ); + command.table = new File( root + ".*_measurements.csv" ); command.run(); } diff --git a/src/test/resources/collections/blobs-grid-table.txt b/src/test/resources/collections/blobs-grid-table.txt new file mode 100644 index 00000000..08eb14a3 --- /dev/null +++ b/src/test/resources/collections/blobs-grid-table.txt @@ -0,0 +1,5 @@ +uri type affine color view labels_table +blobs.tif intensities (10,0,0,0,0,10,0,0,0,0,1,0) grid_intensities +blobs-labels.tif labels (10,0,0,0,0,10,0,0,0,0,1,0) grid_labels blobs-labels.csv +blobs2.tif intensities (10,0,0,0,0,10,0,0,0,0,1,0) grid_intensities +blobs2-labels.tif labels (10,0,0,0,0,10,0,0,0,0,1,0) grid_labels blobs2-labels.csv \ No newline at end of file