# HG changeset patch
# User lldelisle
# Date 1734082434 0
# Node ID 3fd95c753cff5a8b492118d2cad9d2db5e372147
# Parent  9be687213bc9ab8df03b9f0dbe2a45ec652bbb30
planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/max_projections_stack_and_upload_omero commit 28c2a52bc4cea5c545e661a9101d92c7e9b8f815

diff -r 9be687213bc9 -r 3fd95c753cff CHANGELOG.md
--- a/CHANGELOG.md	Fri Dec 13 07:58:28 2024 +0000
+++ b/CHANGELOG.md	Fri Dec 13 09:33:54 2024 +0000
@@ -1,5 +1,9 @@
 # CHANGELOG
 
+## 20241213.1
+
+- Fixed a forgotten nT
+
 ## 20241213
 
 - Remove unused input plateName in wrapper.
diff -r 9be687213bc9 -r 3fd95c753cff max_projections_stack_and_upload_omero.xml
--- a/max_projections_stack_and_upload_omero.xml	Fri Dec 13 07:58:28 2024 +0000
+++ b/max_projections_stack_and_upload_omero.xml	Fri Dec 13 09:33:54 2024 +0000
@@ -1,7 +1,7 @@
 <tool id="max_projections_stack_and_upload_omero" name="Stack MaxProj" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="BSD-3">
     <description>And upload to omero</description>
     <macros>
-        <token name="@TOOL_VERSION@">20241213</token>
+        <token name="@TOOL_VERSION@">20241213.1</token>
         <token name="@VERSION_SUFFIX@">0</token>
     </macros>
     <requirements>
diff -r 9be687213bc9 -r 3fd95c753cff stack_max_projs.groovy
--- a/stack_max_projs.groovy	Fri Dec 13 07:58:28 2024 +0000
+++ b/stack_max_projs.groovy	Fri Dec 13 09:33:54 2024 +0000
@@ -29,7 +29,7 @@
  */
 
 // Version number = date of last modif
-VERSION = "20241213"
+VERSION = "20241213.1"
 
 /**
  * *****************************************************************************************************************
@@ -140,7 +140,7 @@
 			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 {