From 7e98cde0a9cf62f60b907ed14ee407f6183dee72 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 8 Feb 2017 08:58:37 -0500 Subject: [PATCH] Update tool XSD for (hopefully deprecated) change_format syntax. Fixes #3552. --- lib/galaxy/tools/xsd/galaxy.xsd | 19 +++++++++--- .../tools/output_format_deprecated_when.xml | 30 +++++++++++++++++++ test/functional/tools/samples_tool_conf.xml | 1 + 3 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 test/functional/tools/output_format_deprecated_when.xml diff --git a/lib/galaxy/tools/xsd/galaxy.xsd b/lib/galaxy/tools/xsd/galaxy.xsd index 3ced93719fd..96f9f9289a2 100644 --- a/lib/galaxy/tools/xsd/galaxy.xsd +++ b/lib/galaxy/tools/xsd/galaxy.xsd @@ -4888,16 +4888,17 @@ for more examples. ]]> - + - This value must be the attribute name of + This attribute should be the name of the desired input parameter (e.g. ``input="out_format"`` above). - This value must also be an attribute -name of an input parameter (e.g. ``value="interval"`` above). + This must be a possible value of the ``input`` +parameter (e.g. ``value="interval"`` above), or of the deprecated ``input_dataset``'s +``attribute. @@ -4908,6 +4909,16 @@ name of an input parameter (e.g. ``value="interval"`` above). for a list of supported formats. + + + Deprecated. + + + + + Deprecated. + + diff --git a/test/functional/tools/output_format_deprecated_when.xml b/test/functional/tools/output_format_deprecated_when.xml new file mode 100644 index 00000000000..63cf1b406e1 --- /dev/null +++ b/test/functional/tools/output_format_deprecated_when.xml @@ -0,0 +1,30 @@ + + + echo "test" > 5; + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/functional/tools/samples_tool_conf.xml b/test/functional/tools/samples_tool_conf.xml index 9ea7ee03ac7..40fa9c1f17b 100644 --- a/test/functional/tools/samples_tool_conf.xml +++ b/test/functional/tools/samples_tool_conf.xml @@ -48,6 +48,7 @@ +