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

[Feature Request] Default values for integer/float workflow params #18412

Closed
microfuge opened this issue Jun 17, 2024 · 4 comments
Closed

[Feature Request] Default values for integer/float workflow params #18412

microfuge opened this issue Jun 17, 2024 · 4 comments

Comments

@microfuge
Copy link

Hi,

The default for integer/float workflow params seem to be set to zero. It would be great if there was an option to provide sensible defaults.

def

Thanks!

@bernt-matthias
Copy link
Contributor

You can do this for optional workflow parameters:

Screenshot from 2024-06-17 19-55-42

For required workflow parameters I would expect that the default of the tool is used .. but overriding this default might be useful.

@mvdbeek
Copy link
Member

mvdbeek commented Jun 18, 2024

I think the bug here is that 0 is auto-filled ? In which case that's a duplicate of #16091

@microfuge
Copy link
Author

Thanks @bernt-matthias , Thanks @mvdbeek
I was not aware of this option being available for optional workflow params. Unfortunately the default from the tool is not used and in this case 0 is getting used when the tool runs.

@mvdbeek
Copy link
Member

mvdbeek commented Aug 6, 2024

I'll close this as a duplicate of #16091 and will plan to start working on more workflow parameter types, restrictions and fixes soon.

@mvdbeek mvdbeek closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants