Repository 'add_input_name_as_column'
hg clone https://toolshed.g2.bx.psu.edu/repos/mvdbeek/add_input_name_as_column

Changeset 4:b31219f26a8f (2015-03-20)
Previous changeset 3:08c2d13f529d (2015-01-14) Next changeset 5:06061aa49527 (2019-03-06)
Commit message:
Change $input.name to $input.element_ideentifier. This allows keeping the input datatset collections identifier (= history name).
modified:
add_input_name_as_column.xml
b
diff -r 08c2d13f529d -r b31219f26a8f add_input_name_as_column.xml
--- 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
b
@@ -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"