diff column_maker.xml @ 11:61f9ddbc63ca draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/column_maker commit bbe4c5db82c91ea04ca98a7bae1f62a49961d109
author iuc
date Thu, 19 Mar 2026 17:32:18 +0000
parents aff5135563c6
children
line wrap: on
line diff
--- a/column_maker.xml	Thu Aug 22 08:25:44 2024 +0000
+++ b/column_maker.xml	Thu Mar 19 17:32:18 2026 +0000
@@ -1,4 +1,4 @@
-<tool id="Add_a_column1" name="Compute" version="2.1" profile="23.0">
+<tool id="Add_a_column1" name="Compute" version="2.1+galaxy0" profile="23.0">
     <description>on rows</description>
     <macros>
         <xml name="compute_repeat">
@@ -42,7 +42,7 @@
 #if str($error_handling.auto_col_types) == 'on':
     #set $col_types = $input.metadata.column_types
 #else:
-    #set $col_types = ','.join(['str' for t in $input.metadata.column_types.split(',')])
+    #set $col_types = ','.join(['str' for t in str($input.metadata.column_types).split(',')])
 #end if
 --column-types $col_types
 $avoid_scientific_notation
@@ -314,12 +314,14 @@
 
 - Columns are referenced with **c** and a **number**. For example, **c1** refers to the first column of a tab-delimited file
 
+- Basic arithmetic operations are supported: addition (``+``), subtraction (``-``), multiplication (``*``), division (``/``), modulo (``%``), exponentiation (``**``), floor division (``//``)
+
 - The following built-in Python functions are available for use in expressions::
 
-    abs | all | any | ascii | bin | bool | chr | complex | divmod | float | format | hex | int | len | list 
+    abs | all | any | ascii | bin | bool | chr | complex | divmod | float | format | hex | int | len | list
     map | max | min | oct | ord | pow | range | reversed | round | set | sorted | str | sum | type
 
-    acos | acosh | asin | asinh | atan | atan2 | atanh | cbrt | ceil | comb | copysign | cos | cosh | degrees 
+    acos | acosh | asin | asinh | atan | atan2 | atanh | cbrt | ceil | comb | copysign | cos | cosh | degrees
     dist | erf | erfc | exp | exp2 | expm1 | fabs | factorial | floor | fmod | frexp | fsum | gamma | gcd
     hypot | inf | isclose | isfinite | isinf | isnan | isqrt | ldexp | lgamma | log | log10 | log1p | log2
     modf | nextafter | perm | pow | prod | remainder | sin | sqrt | tan | tanh | tau | trunc | ulp