Files
galaxy/test/functional/tools/expression_log_line_count.xml
T

18 lines
568 B
XML

<tool name="expression_log_line_count" id="expression_log_line_count"
version="0.1.0" tool_type="expression">
<description>Log Lines</description>
<expression type="ecma5.1">
{return {'output': Math.max(Math.round(Math.log(parseInt($job.input1.metadata.data_lines))), 1)};}
</expression>
<inputs>
<param type="data" label="Input file to count lines of." name="input1" />
</inputs>
<outputs>
<output type="integer" name="out1" from="output" />
</outputs>
<tests>
</tests>
<help>
</help>
</tool>