Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default parameters cannot be used for certain required fields #48

Open
TKlingstrom opened this issue Feb 27, 2018 · 1 comment
Open
Labels
Cat 1 bug Bug that prevent the user from using Galaksio as intended. Ver 1.0 req Issues to be fixed before 1.0 release

Comments

@TKlingstrom
Copy link
Member

Treatment of tools is inconsistent between the GUI layer and the command line.

Certain tool wrappers define a default parameter which on the command line is sent as "no value" (ie no flag at all) still requires a choice to be made on the GUI level. This is problematic when managing tools through the API. Currently Galaksio checks if a required field is empty when importing the workflow JSON from Galaxy and then interprets the required field as optional (in the Galaksio GUI this mean that the default "no value" is pre-selected but any value is accepted).

This does however not work if a Galaxy workflow has been made with a non-default value in a tool which got a required field and where the default value is sent as "no value". Because in such cases the default value is still interpreted as not filling in a required field.

@TKlingstrom TKlingstrom added the Cat 1 bug Bug that prevent the user from using Galaksio as intended. label Feb 27, 2018
@TKlingstrom
Copy link
Member Author

This issue may be a duplicate of this (or the original issue but less well annotated):
https://github.com/fikipollo/galaksio/issues/7

@TKlingstrom TKlingstrom added the Ver 1.0 req Issues to be fixed before 1.0 release label Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cat 1 bug Bug that prevent the user from using Galaksio as intended. Ver 1.0 req Issues to be fixed before 1.0 release
Projects
None yet
Development

No branches or pull requests

1 participant