changeset 14:da3116b620b3 draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
author rv43
date Tue, 21 Mar 2023 14:25:23 +0000
parents e4963769076b
children b1c2b7d26149
files tomo_reduce.xml workflow/run_tomo.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tomo_reduce.xml	Tue Mar 21 14:07:35 2023 +0000
+++ b/tomo_reduce.xml	Tue Mar 21 14:25:23 2023 +0000
@@ -9,7 +9,7 @@
             mkdir tomo_reduce_plots;
             $__tool_directory__/tomo_reduce.py
             --input_file '$input_file'
-            --output_file 'output.nxs'
+            --output_file 'output.nex'
             --galaxy_flag
             --img_x_bounds $img_x_bounds.low $img_x_bounds.upp
             -l '$log'
@@ -30,7 +30,7 @@
         <collection name="tomo_reduce_plots" type="list" label="Data reduction images">
             <discover_datasets pattern="__name_and_ext__" directory="tomo_reduce_plots"/>
         </collection>
-        <data name="output_file" format="nxs" label="Reduced tomography data" from_work_dir="output.nxs"/>
+        <data name="output_file" format="nex" label="Reduced tomography data" from_work_dir="output.nex"/>
     </outputs>
     <help>
         <![CDATA[
--- a/workflow/run_tomo.py	Tue Mar 21 14:07:35 2023 +0000
+++ b/workflow/run_tomo.py	Tue Mar 21 14:25:23 2023 +0000
@@ -374,7 +374,7 @@
         if self.test_mode:
             lower_row = self.test_config['lower_row']
         elif self.galaxy_flag:
-            if center_rows is None:
+            if center_rows is None or center_rows[0] = -1:
                 lower_row = 0
             else:
                 lower_row = min(center_rows)
@@ -400,7 +400,7 @@
         if self.test_mode:
             upper_row = self.test_config['upper_row']
         elif self.galaxy_flag:
-            if center_rows is None:
+            if center_rows is None or center_rows[1] = -1:
                 upper_row = tomo_fields_shape[2]-1
             else:
                 upper_row = max(center_rows)