mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Modernize Convert characters1
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
<tool id="Convert characters1" name="Convert" version="1.0.0">
|
||||
<tool id="Convert characters1" name="Convert" version="1.0.1" profile="24.2">
|
||||
<description>delimiters to TAB</description>
|
||||
<command interpreter="python">
|
||||
convert_characters.py
|
||||
#if $strip
|
||||
--strip
|
||||
#end if
|
||||
#if $condense
|
||||
--condense
|
||||
#end if
|
||||
$input $convert_from $out_file1
|
||||
<requirements>
|
||||
<requirement type="package" version="3.13">python</requirement>
|
||||
</requirements>
|
||||
<command>
|
||||
python '$__tool_directory__/convert_characters.py'
|
||||
#if $strip
|
||||
--strip
|
||||
#end if
|
||||
#if $condense
|
||||
--condense
|
||||
#end if
|
||||
'$input' '$convert_from' '$out_file1'
|
||||
</command>
|
||||
<inputs>
|
||||
<param name="convert_from" type="select" label="Convert all">
|
||||
@@ -27,12 +30,12 @@ $input $convert_from $out_file1
|
||||
<param name="strip" type="boolean" checked="true" label="Strip leading and trailing whitespaces" />
|
||||
<param name="condense" type="boolean" checked="true" label="Condense consecutive delimiters in one TAB" />
|
||||
</inputs>
|
||||
<outputs>
|
||||
<data format="tabular" name="out_file1" />
|
||||
</outputs>
|
||||
<stdio>
|
||||
<exit_code range="1:" level="fatal" />
|
||||
</stdio>
|
||||
<outputs>
|
||||
<data format="tabular" name="out_file1" />
|
||||
</outputs>
|
||||
<tests>
|
||||
<test>
|
||||
<param name="convert_from" value="s"/>
|
||||
|
||||
Reference in New Issue
Block a user