From 28c2a52bc4cea5c545e661a9101d92c7e9b8f815 Mon Sep 17 00:00:00 2001 From: Lucille Delisle Date: Fri, 13 Dec 2024 10:29:09 +0100 Subject: [PATCH] fix maxproj again --- tools/max_projections_stack_and_upload_omero/CHANGELOG.md | 4 ++++ .../max_projections_stack_and_upload_omero.xml | 2 +- .../stack_max_projs.groovy | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/max_projections_stack_and_upload_omero/CHANGELOG.md b/tools/max_projections_stack_and_upload_omero/CHANGELOG.md index 963b8ca..603811a 100644 --- a/tools/max_projections_stack_and_upload_omero/CHANGELOG.md +++ b/tools/max_projections_stack_and_upload_omero/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 20241213.1 + +- Fixed a forgotten nT + ## 20241213 - Remove unused input plateName in wrapper. diff --git a/tools/max_projections_stack_and_upload_omero/max_projections_stack_and_upload_omero.xml b/tools/max_projections_stack_and_upload_omero/max_projections_stack_and_upload_omero.xml index 0037b8f..af685d9 100644 --- a/tools/max_projections_stack_and_upload_omero/max_projections_stack_and_upload_omero.xml +++ b/tools/max_projections_stack_and_upload_omero/max_projections_stack_and_upload_omero.xml @@ -1,7 +1,7 @@ And upload to omero - 20241213 + 20241213.1 0 diff --git a/tools/max_projections_stack_and_upload_omero/stack_max_projs.groovy b/tools/max_projections_stack_and_upload_omero/stack_max_projs.groovy index d1a026f..703ae5b 100644 --- a/tools/max_projections_stack_and_upload_omero/stack_max_projs.groovy +++ b/tools/max_projections_stack_and_upload_omero/stack_max_projs.groovy @@ -29,7 +29,7 @@ */ // Version number = date of last modif -VERSION = "20241213" +VERSION = "20241213.1" /** * ***************************************************************************************************************** @@ -140,7 +140,7 @@ try { ImagePlus merged_imps = Concatenator.run(current_images as ImagePlus[]) // Re-order to make a multi-channel, time-lapse image ImagePlus final_imp - if (channels.size() == 1 && nT == 1) { + if (channels.size() == 1 && ref_nT == 1) { final_imp = merged_imps } else { try {