comparison inchi_to_sink.xml @ 1:b560a9e57ccf draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Thu, 03 Feb 2022 14:18:42 +0000
parents ef125d2f57c3
children 3627d3e49889
comparison
equal deleted inserted replaced
0:ef125d2f57c3 1:b560a9e57ccf
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <requirement type="package" version="0.5">echo</requirement> 7 <requirement type="package" version="0.5">echo</requirement>
8 </requirements> 8 </requirements>
9 <command detect_errors="exit_code"><![CDATA[ 9 <command detect_errors="exit_code"><![CDATA[
10 echo -e '"name","inchi"\n"$source_name","$source_inchi"' > '$sink' 10 #set inchi=$source_inchi.rstrip()
11 echo -e '"name","inchi"\n"$source_name","$inchi"' > '$sink'
11 ]]></command> 12 ]]></command>
12 <inputs> 13 <inputs>
13 <param name="source_inchi" type="text" label="Source InChI" optional="false"> 14 <param name="source_inchi" type="text" label="Source InChI" optional="false">
14 <validator type="empty_field" message="InChI string is required"/> 15 <validator type="empty_field" message="InChI string is required"/>
15 </param> 16 </param>
16 <param name="source_name" type="text" value="target" label="Source name"> 17 <param name="source_name" type="text" value="Biosensor" label="Source name">
17 <validator type="empty_field" message="Source name is required"/> 18 <validator type="empty_field" message="Source name is required"/>
18 </param> 19 </param>
19 </inputs> 20 </inputs>
20 <outputs> 21 <outputs>
21 <data name="sink" format="csv" label="${tool.name} - ${source_name}" /> 22 <data name="sink" format="csv" label="${tool.name} - ${source_name}" />