diff --git a/pom.xml b/pom.xml index d45f358cc..2600be0f7 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 f413f1d6a..0daf433ba 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 000000000..08eb14a3b --- /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