galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.4k stars 1.01k forks source link

Enhance workflow parameter specification #13360

Open mvdbeek opened 2 years ago

mvdbeek commented 2 years ago

Workflow authors should be able to specify the minimum length of a text workflow parameter, and/or a regex. xref: https://github.com/galaxyproject/galaxy/issues/13220#issuecomment-1036521930

bernt-matthias commented 2 years ago

If connected to a tool text parameter one should just reuse the tool validators, or?

mvdbeek commented 2 years ago

That would be one way to do it, but there's no information on the frontend on how to do this. Also the connected tool parameter may be more "permissive". Say you want to allow text that starts with certain characters or have a minimum length, but the tool itself allows any kind of text.