changeset 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 08c2d13f529d
children 06061aa49527
files add_input_name_as_column.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/add_input_name_as_column.xml	Wed Jan 14 10:15:13 2015 -0500
+++ b/add_input_name_as_column.xml	Fri Mar 20 14:51:56 2015 +0100
@@ -1,8 +1,8 @@
-<tool id="addName" name="Add input name as column" version="0.1">
+<tool id="addName" name="Add input name as column" version="0.1.1">
   <description>to an existing tabular file</description>
   <command interpreter="python">add_input_name_as_column.py 
     --input "$input" 
-    --label "$input.name" 
+    --label "$input.element_identifier" 
     --output "$output"
     #if $header.contains_header=="yes":
       --header "$header.colname"