changeset 1:b560a9e57ccf draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Thu, 03 Feb 2022 14:18:42 +0000
parents ef125d2f57c3
children 3627d3e49889
files inchi_to_sink.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/inchi_to_sink.xml	Mon Jan 31 16:40:21 2022 +0000
+++ b/inchi_to_sink.xml	Thu Feb 03 14:18:42 2022 +0000
@@ -7,13 +7,14 @@
         <requirement type="package" version="0.5">echo</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-        echo -e '"name","inchi"\n"$source_name","$source_inchi"' > '$sink'
+        #set inchi=$source_inchi.rstrip()
+        echo -e '"name","inchi"\n"$source_name","$inchi"' > '$sink'
     ]]></command>
     <inputs>
         <param name="source_inchi" type="text" label="Source InChI" optional="false">
             <validator type="empty_field" message="InChI string is required"/>
         </param>
-        <param name="source_name" type="text" value="target" label="Source name">
+        <param name="source_name" type="text" value="Biosensor" label="Source name">
             <validator type="empty_field" message="Source name is required"/>
         </param>
     </inputs>