-
Notifications
You must be signed in to change notification settings - Fork 590
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
Overriding inherited options #149
Comments
Am going to address part of this ticket in my next branch by giving tools a way to indicate that particular data sources are required or optional, even when the inherited argument itself is marked as optional. Once this is done, all we probably need to do is change the code that displays the tool arguments to the user so that they take each tools requirements into account when displaying args. |
Louis has a solution for this! |
@lbergelson is this solution going in this iteration? |
@lbergelson ping |
Oh, sorry, I missed that last comment. Yeah this should go in. It's been sitting in local branch, just need to update it. |
This is not resolved in the general case, but it is resolved in the case of the special BAM, reference, and interval options in walkers. Going to close this. Reopen when it comes up as an issue again. |
Tools be able to override the behavior of options they have inherited?
How should this work? Should you be able to change a required field to an optional one? Or only the other way around?
If you override the a field that has an
@Option
annotation does it effectively replace it?The text was updated successfully, but these errors were encountered: