diff allowed_functions.xml @ 0:1b0f96ed73f2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/table_compute commit 1ee75135483d5db22c540bc043746cd986f85762"
author iuc
date Sat, 17 Aug 2019 16:25:37 -0400
parents
children 93a3ce78ce55
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/allowed_functions.xml	Sat Aug 17 16:25:37 2019 -0400
@@ -0,0 +1,48 @@
+<macros>
+    <!-- These macros are the allowed functions: numpy, pandas
+         Dataframe, math, or basic operators.
+
+         This file is parsed by the python scripts to reduce
+         duplicate definitions of allowed functions -->
+    <macro name="select_vectorops" >
+        <option value="min" selected="true">Minimum</option>
+        <option value="max">Maximum</option>
+        <option value="sum">Sum</option>
+        <option value="count">Number of Non-NA Values</option>
+        <option value="nunique">Number of Unique Observations</option>
+        <option value="mean">Mean</option>
+        <option value="median">Median</option>
+        <option value="std">Standard Deviation</option>
+        <option value="sem">Standard Error of the Mean</option>
+        <option value="var">Variance</option>
+        <option value="mad">Mean absolute deviation</option>
+        <option value="product">Product</option>
+        <yield />
+    </macro>
+    <macro name="select_onevalueoperator">
+        <option value="log">Ln</option>
+        <option value="log10">Log10</option>
+        <option value="exp">Exponential</option>
+        <option value="floor">Floor</option>
+        <option value="ceil">Ceiling</option>
+        <option value="sqrt">Square root</option>
+    </macro>
+    <macro name="select_twovaluenumericoperator">
+        <option value="add">Add</option>
+        <option value="sub">Subtract</option>
+        <option value="mul">Multiply</option>
+        <option value="truediv">True Divide</option>
+        <option value="floordiv">Floor Divide</option>
+        <option value="pow">Power</option>
+        <option value="mod">Remainder</option>
+    </macro>
+    <macro name="select_twovaluebooleanops">
+        <yield />
+        <option value="lt">&#60; (Less Than)</option>
+        <option value="le">&#8804; (Less Than or Equal to)</option>
+        <option value="gt">&#62; (Greater Than)</option>
+        <option value="ge">&#8805; (Greater Than or Equal to)</option>
+        <option value="eq">&#8801; (Equal to)</option>
+        <option value="ne">&#8800; (Not Equal to)</option>
+    </macro>
+</macros>