comparison stack_max_projs.groovy @ 2:3fd95c753cff draft

planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/max_projections_stack_and_upload_omero commit 28c2a52bc4cea5c545e661a9101d92c7e9b8f815
author lldelisle
date Fri, 13 Dec 2024 09:33:54 +0000
parents 9be687213bc9
children 24004ccd992e
comparison
equal deleted inserted replaced
1:9be687213bc9 2:3fd95c753cff
27 * ********************************************* DO NOT MODIFY **************************************************** 27 * ********************************************* DO NOT MODIFY ****************************************************
28 * **************************************************************************************************************** 28 * ****************************************************************************************************************
29 */ 29 */
30 30
31 // Version number = date of last modif 31 // Version number = date of last modif
32 VERSION = "20241213" 32 VERSION = "20241213.1"
33 33
34 /** 34 /**
35 * ***************************************************************************************************************** 35 * *****************************************************************************************************************
36 * **************************************** Beginning of the script *********************************************** 36 * **************************************** Beginning of the script ***********************************************
37 * **************************************************************************************************************** 37 * ****************************************************************************************************************
138 if (all_compatibles) { 138 if (all_compatibles) {
139 // Merge all 139 // Merge all
140 ImagePlus merged_imps = Concatenator.run(current_images as ImagePlus[]) 140 ImagePlus merged_imps = Concatenator.run(current_images as ImagePlus[])
141 // Re-order to make a multi-channel, time-lapse image 141 // Re-order to make a multi-channel, time-lapse image
142 ImagePlus final_imp 142 ImagePlus final_imp
143 if (channels.size() == 1 && nT == 1) { 143 if (channels.size() == 1 && ref_nT == 1) {
144 final_imp = merged_imps 144 final_imp = merged_imps
145 } else { 145 } else {
146 try { 146 try {
147 final_imp = HyperStackConverter.toHyperStack(merged_imps, channels.size() , 1, ref_nT, "xytcz", "Color") 147 final_imp = HyperStackConverter.toHyperStack(merged_imps, channels.size() , 1, ref_nT, "xytcz", "Color")
148 // set LUTs 148 // set LUTs