mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
co-authored by
Nicola Soranzo
parent
9e92503a15
commit
88c76e369c
@@ -44,7 +44,7 @@ def lint_inputs(tool_xml, lint_ctx):
|
||||
if dynamic_options is None and len(select_options) == 0:
|
||||
lint_ctx.warn(f"No options defined for select [{param_name}]")
|
||||
|
||||
if param_attrib.get("display") == "checkbockes":
|
||||
if param_attrib.get("display") == "checkboxes":
|
||||
if not string_as_bool(param_attrib.get("multiple", "false")):
|
||||
lint_ctx.error(f'Select [{param_name}] display="checkboxes" is incompatible with multiple="false"')
|
||||
if not string_as_bool(param_attrib.get("optional", "false")):
|
||||
|
||||
@@ -2888,7 +2888,7 @@ is still the column index. Used only when the ``type`` attribute value is
|
||||
<xs:attribute name="display" type="DisplayType">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">Render a select list as a set of
|
||||
checkboxes (``checkboxes``; note this is incompatible with ``multipe="false"``
|
||||
checkboxes (``checkboxes``; note this is incompatible with ``multiple="false"``
|
||||
and ``optional="false"``) or radio buttons (``radio``; note this is
|
||||
incompatible with ``multiple="true"`` and ``optional="true"``). Defaults to a
|
||||
drop-down menu select list. Used only when the ``type`` attribute value is
|
||||
|
||||
Reference in New Issue
Block a user