Mercurial > repos > galaxyp > openms_xmlvalidator
comparison XMLValidator.xml @ 13:f036e8cf1a55 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author | galaxyp |
---|---|
date | Thu, 01 Dec 2022 19:11:46 +0000 |
parents | 75bb0f81cfa3 |
children | ad2ba3a95a02 |
comparison
equal
deleted
inserted
replaced
12:78c080d36945 | 13:f036e8cf1a55 |
---|---|
1 <?xml version='1.0' encoding='UTF-8'?> | 1 <?xml version='1.0' encoding='UTF-8'?> |
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> | 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> |
3 <!--Proposed Tool Section: [Utilities]--> | 3 <!--Proposed Tool Section: [Utilities]--> |
4 <tool id="XMLValidator" name="XMLValidator" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> | 4 <tool id="XMLValidator" name="XMLValidator" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> |
5 <description>Validates XML files against an XSD schema.</description> | 5 <description>Validates XML files against an XSD schema.</description> |
6 <macros> | 6 <macros> |
7 <token name="@EXECUTABLE@">XMLValidator</token> | 7 <token name="@EXECUTABLE@">XMLValidator</token> |
8 <import>macros.xml</import> | 8 <import>macros.xml</import> |
9 <import>macros_autotest.xml</import> | |
10 <import>macros_test.xml</import> | |
11 </macros> | 9 </macros> |
12 <expand macro="requirements"/> | 10 <expand macro="requirements"/> |
13 <expand macro="stdio"/> | 11 <expand macro="stdio"/> |
14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ | 12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
15 @EXT_FOO@ | 13 @EXT_FOO@ |
44 <configfiles> | 42 <configfiles> |
45 <inputs name="args_json" data_style="paths"/> | 43 <inputs name="args_json" data_style="paths"/> |
46 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> | 44 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
47 </configfiles> | 45 </configfiles> |
48 <inputs> | 46 <inputs> |
49 <param name="in" argument="-in" type="data" format="consensusxml,featurexml,idxml,mzdata,mzid,mzml,mzxml,pepxml,traml,xml" optional="false" label="file to validate" help=" select consensusxml,featurexml,idxml,mzdata,mzid,mzml,mzxml,pepxml,traml,xml data sets(s)"/> | 47 <param argument="-in" type="data" format="consensusxml,featurexml,idxml,mzdata,mzid,mzml,mzxml,pepxml,traml,xml" optional="false" label="file to validate" help=" select consensusxml,featurexml,idxml,mzdata,mzid,mzml,mzxml,pepxml,traml,xml data sets(s)"/> |
50 <param name="schema" argument="-schema" type="data" format="xml" optional="true" label="schema to validate against" help="If no schema is given, the file is validated against the latest schema of the file type select xml data sets(s)"/> | 48 <param argument="-schema" type="data" format="xml" optional="true" label="schema to validate against" help="If no schema is given, the file is validated against the latest schema of the file type select xml data sets(s)"/> |
51 <expand macro="adv_opts_macro"> | 49 <expand macro="adv_opts_macro"> |
52 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> | 50 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
53 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | 51 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> |
54 <expand macro="list_string_san"/> | 52 <expand macro="list_string_san" name="test"/> |
55 </param> | 53 </param> |
56 </expand> | 54 </expand> |
57 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> | 55 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> |
58 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | 56 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
59 </param> | 57 </param> |
64 </data> | 62 </data> |
65 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | 63 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
66 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | 64 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
67 </data> | 65 </data> |
68 </outputs> | 66 </outputs> |
69 <tests> | 67 <tests><test expect_num_outputs="1"><!-- just chosen an arbitrary input and autgenerated output--> |
70 <expand macro="autotest_XMLValidator"/> | 68 <param name="adv_opts|test" value="true"/> |
71 <expand macro="manutest_XMLValidator"/> | 69 <param name="in" ftype="mzml" value="FileFilter_1_input.mzML"/> |
72 </tests> | 70 <output name="stdout" ftype="txt" value="XMLValidator.stdout" lines_diff="4"> |
71 <assert_contents><has_text text="Success: the file is valid!"/></assert_contents> | |
72 </output> | |
73 </test> | |
74 </tests> | |
73 <help><![CDATA[Validates XML files against an XSD schema. | 75 <help><![CDATA[Validates XML files against an XSD schema. |
74 | 76 |
75 | 77 |
76 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/UTILS_XMLValidator.html]]></help> | 78 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/UTILS_XMLValidator.html]]></help> |
77 <expand macro="references"/> | 79 <expand macro="references"/> |
78 </tool> | 80 </tool> |