diff esearch.xml @ 1:30150bd36c9a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed
author iuc
date Tue, 30 Oct 2018 19:08:02 -0400
parents c8a84e910e6b
children c6096cd97120
line wrap: on
line diff
--- a/esearch.xml	Thu Jul 07 02:40:48 2016 -0400
+++ b/esearch.xml	Tue Oct 30 19:08:02 2018 -0400
@@ -6,15 +6,16 @@
   </macros>
   <expand macro="requirements"/>
   <version_command>python esearch.py --version</version_command>
-  <command detect_errors="aggressive" interpreter="python"><![CDATA[esearch.py
+  <command detect_errors="aggressive" interpreter="python"><![CDATA[
+esearch.py
 $db_select
 "$term"
 
 #if $history_file and $history_file is not None:
-    --history_file $history_file
+    --history_file '$history_file'
 #end if
 
-#if $date.enabled:
+#if $date.enabled == 'True'
     --datetype $date.datetype
 
     #if $date.reldate and $date.reldate is not None:
@@ -22,11 +23,11 @@
     #end if
 
     #if $date.mindate and $date.mindate is not None:
-    --mindate $date.mindate
+    --mindate '$date.mindate'
     #end if
 
     #if $date.maxdate and $date.maxdate is not None:
-    --maxdate $date.maxdate
+    --maxdate '$date.maxdate'
     #end if
 #end if
 
@@ -38,7 +39,7 @@
 > $default]]></command>
   <inputs>
     <expand macro="dbselect"/>
-    <param label="Search Term" name="term" type="text">
+    <param name="term" type="text" label="Search term">
       <sanitizer>
         <valid>
           <add value="'"/>
@@ -47,25 +48,28 @@
         </valid>
       </sanitizer>
     </param>
-    <param label="Filter existing history" name="history_file" type="data" format="json" optional="True"/>
-    <param checked="false" label="Store results to history server" name="use_history" type="boolean" truevalue="--use_history" falsevalue=""/>
+    <param name="history_file" type="data" format="json" optional="true" label="Filter existing history" />
+    <param name="use_history" type="boolean" truevalue="--use_history" falsevalue="" checked="false" label="Store results to history server" />
     <conditional name="date">
-      <param label="Filter By Date" type="boolean" truevalue="True" falsevalue="False" checked="false" name="enabled"/>
+      <param name="enabled" type="select" label="Filter by date">
+        <option value="False">No</option>
+        <option value="True">Yes</option>
+      </param>
       <when value="True">
         <param label="Date type" name="datetype" type="select">
-          <option value="PDAT">Publish Date</option>
-          <option value="EDAT">Entrez Date</option>
-          <option value="MDAT">Modification Date</option>
+          <option value="PDAT">Publish date</option>
+          <option value="EDAT">Entrez date</option>
+          <option value="MDAT">Modification date</option>
         </param>
-        <param label="In past N days" name="reldate" type="integer" min="1" optional="True"/>
-        <param label="Minimum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="mindate" type="text"/>
-        <param label="maximum date" help="YYYY, YYYY/MM, or YYYY/MM/DD" name="maxdate" type="text"/>
+        <param name="reldate" type="integer" min="1" optional="true" label="In past N days" />
+        <param name="mindate" type="text" label="Minimum date" help="YYYY, YYYY/MM or YYYY/MM/DD" />
+        <param name="maxdate" type="text" label="Maximum date" help="YYYY, YYYY/MM or YYYY/MM/DD" />
       </when>
       <when value="False"/>
     </conditional>
   </inputs>
   <outputs>
-    <data format="json" name="default" label="ESearch Results for $term">
+    <data name="default" format="json" label="ESearch results for $term">
       <change_format>
         <when input="use_history" value="" format="xml"/>
       </change_format>