diff XMLValidator.xml @ 4:6ead64a594bd draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/openms commit 7a5239910fda9ed90cca286a38855703b40b1b56-dirty
author bgruening
date Wed, 27 Jan 2016 10:06:49 -0500
parents 3d84209d3178
children
line wrap: on
line diff
--- a/XMLValidator.xml	Mon Oct 13 10:18:22 2014 -0400
+++ b/XMLValidator.xml	Wed Jan 27 10:06:49 2016 -0500
@@ -1,30 +1,43 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<tool id="XMLValidator" name="XMLValidator" version="1.12.0">
-  <description>Validates XML files against an XSD schema.</description>
-  <macros>
-    <token name="@EXECUTABLE@">XMLValidator</token>
-    <import>macros.xml</import>
-  </macros>
-  <expand macro="stdio"/>
-  <expand macro="requirements"/>
-  <command>XMLValidator
+<?xml version="1.0" encoding="UTF-8"?>
+  <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
+  <!--Proposed Tool Section: [Utilities]-->
+  <tool id="XMLValidator" name="XMLValidator" version="2.0.0">
+    <description>Validates XML files against an XSD schema.</description>
+    <macros>
+      <token name="@EXECUTABLE@">XMLValidator</token>
+      <import>macros.xml</import>
+    </macros>
+    <expand macro="references"/>
+    <expand macro="stdio"/>
+    <expand macro="requirements"/>
+    <command>XMLValidator
 
--in ${param_in}
--schema ${param_schema}
--threads \${GALAXY_SLOTS:-24} 
+#if $param_in:
+  -in $param_in
+#end if
+#if $param_schema:
+  -schema $param_schema
+#end if
+-threads \${GALAXY_SLOTS:-24}
+#if $adv_opts.adv_opts_selector=='advanced':
+    #if $adv_opts.param_force:
+  -force
+#end if
+#end if
+&gt; $param_stdout
 </command>
-  <inputs>
-    <param name="param_in" type="data" format="mzML,featureXML,idXML,consensusXML,mzXML,pepXML" optional="False" label="file to validate" help="(-in)"/>
-    <param name="param_schema" type="data" format="" optional="True" label="schema to validate against.#br#If no schema is given, the file is validated against the latest schema of the file type." help="(-schema)"/>
-  </inputs>
-  <outputs/>
-  <help>**What it does**
-
-Validates XML files against an XSD schema.
+    <inputs>
+      <param format="xml,mzml,mzxml,consensusxml,traml,txt,pepxml" help="(-in) " label="file to validate" name="param_in" optional="False" type="data"/>
+      <param format="txt" help="(-schema) &lt;br&gt;If no schema is given, the file is validated against the latest schema of the file type" label="schema to validate against" name="param_schema" optional="True" type="data"/>
+      <expand macro="advanced_options">
+        <param checked="false" falsevalue="" help="(-force) " label="Overwrite tool specific checks" name="param_force" optional="True" truevalue="-force" type="boolean"/>
+      </expand>
+    </inputs>
+    <outputs>
+      <data format="text" label="Output from stdout" name="param_stdout"/>
+    </outputs>
+    <help>Validates XML files against an XSD schema.
 
 
-For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_XMLValidator.html
-
-@REFERENCES@
-</help>
-</tool>
+For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_XMLValidator.html</help>
+  </tool>