changeset 3:f5bc9bda73b7 draft

Uploaded
author ylebras
date Tue, 04 Dec 2018 19:53:44 -0500
parents d4462dd190fe
children 97c4e2e4f07e
files xlsx2tab.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xlsx2tab.xml	Tue Dec 04 19:43:15 2018 -0500
+++ b/xlsx2tab.xml	Tue Dec 04 19:53:44 2018 -0500
@@ -4,8 +4,8 @@
 		<requirement type="package" version="1.1.0">r-readxl</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-	    cp '$input1' '$input1'.xlsx
-        Rscript '$__tool_directory__/xlsx2tab.R' '$input1' '$sheet' '$output' ]]>
+	    cp '$input1' input.xlsx &&
+        Rscript '$__tool_directory__/xlsx2tab.R' input.xlsx '$sheet' '$output' ]]>
     </command>
     <inputs>
         <param format="xlsx" name="input1" type="data" label="XLSX file"/>