Mercurial > repos > mvdbeek > add_input_name_as_column
comparison add_input_name_as_column.xml @ 4:b31219f26a8f
Change $input.name to $input.element_ideentifier. This allows
keeping the input datatset collections identifier (= history name).
author | mvdbeek |
---|---|
date | Fri, 20 Mar 2015 14:51:56 +0100 |
parents | 3a1f8302302d |
children | 06061aa49527 |
comparison
equal
deleted
inserted
replaced
3:08c2d13f529d | 4:b31219f26a8f |
---|---|
1 <tool id="addName" name="Add input name as column" version="0.1"> | 1 <tool id="addName" name="Add input name as column" version="0.1.1"> |
2 <description>to an existing tabular file</description> | 2 <description>to an existing tabular file</description> |
3 <command interpreter="python">add_input_name_as_column.py | 3 <command interpreter="python">add_input_name_as_column.py |
4 --input "$input" | 4 --input "$input" |
5 --label "$input.name" | 5 --label "$input.element_identifier" |
6 --output "$output" | 6 --output "$output" |
7 #if $header.contains_header=="yes": | 7 #if $header.contains_header=="yes": |
8 --header "$header.colname" | 8 --header "$header.colname" |
9 #end if | 9 #end if |
10 </command> | 10 </command> |