From 6faf11e4f310da34cedaf7c5a5371e275fb579a8 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Sat, 29 Jan 2022 21:20:21 +0100 Subject: [PATCH 1/2] add missing collection types to xsd doc and add new CollectionType --- lib/galaxy/tool_util/xsd/galaxy.xsd | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/lib/galaxy/tool_util/xsd/galaxy.xsd b/lib/galaxy/tool_util/xsd/galaxy.xsd index 209da7cc564..33eb434de70 100644 --- a/lib/galaxy/tool_util/xsd/galaxy.xsd +++ b/lib/galaxy/tool_util/xsd/galaxy.xsd @@ -1986,10 +1986,9 @@ This value is the same as the value of the ``name`` attribute of the ]]> - + - Expected collection type (e.g. ``list``, ``paired``, -or ``list:paired``). + Expected collection type (e.g. ``list``, ``paired``, ``list:paired``, or ``list:list``). @@ -3405,11 +3404,11 @@ file (use the file extension). Used only when the ``type`` attribute value is ``data`` or ``data_collection``. - + @@ -5077,9 +5076,9 @@ Creating collections in tools is covered in-depth in - + - Collection type for output (e.g. ``paired``, ``list``, or ``list:list``). + Collection type for output (e.g. ``paired``, ``list``, ``list:paired`` or ``list:list``). @@ -5115,7 +5114,7 @@ This tag describes an output to the tool. - Collection type for output (e.g. ``paired``, ``list``, or ``list:list``). + Collection type for output (e.g. ``paired``, ``list``, ``list:paired``, or ``list:list``). @@ -6901,5 +6900,15 @@ is the only supported options. - + + + Allowed collection types + + + + + + + + From 6b7123132cc691c6112b7a657eafdd9f94f1b516 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Mon, 31 Jan 2022 12:32:42 +0100 Subject: [PATCH 2/2] xsd: implement CollectionType as regex and add CollectionTypeList --- lib/galaxy/tool_util/xsd/galaxy.xsd | 43 ++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/lib/galaxy/tool_util/xsd/galaxy.xsd b/lib/galaxy/tool_util/xsd/galaxy.xsd index 33eb434de70..d08208b2518 100644 --- a/lib/galaxy/tool_util/xsd/galaxy.xsd +++ b/lib/galaxy/tool_util/xsd/galaxy.xsd @@ -1988,7 +1988,7 @@ This value is the same as the value of the ``name`` attribute of the - Expected collection type (e.g. ``list``, ``paired``, ``list:paired``, or ``list:list``). + Expected collection type (``list`` or ``paired``), nested collections are specified as colon separated list (the most common types are ``list``, ``paired``, ``list:paired``, or ``list:list``). @@ -3404,13 +3404,15 @@ file (use the file extension). Used only when the ``type`` attribute value is ``data`` or ``data_collection``. - + @@ -5078,7 +5080,12 @@ Creating collections in tools is covered in-depth in - Collection type for output (e.g. ``paired``, ``list``, ``list:paired`` or ``list:list``). + @@ -5112,9 +5119,14 @@ This tag describes an output to the tool. In expression tools, use this to specify a dictionary value to populate this output from. The semantics may change for other expression types in the future. - + - Collection type for output (e.g. ``paired``, ``list``, ``list:paired``, or ``list:list``). + @@ -6905,10 +6917,15 @@ is the only supported options. Allowed collection types - - - - + + + + + + Allowed collection types + + +