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
Supporting cwl:hints
in addition to cwl:requirements
for input objects
#918
Comments
Dear @tom-tan , thanks for sharing this issue! I would accept a PR against the branch https://github.com/common-workflow-language/cwl-v1.2/tree/1.2.1_proposed that implemented this ; unless @tetron or others think that this would be too much to add in a bugfix release. If they disagree, then it would have to wait for CWL v1.3 or v2.0 (which ever comes first). You could implement this as a namespaced extension on your own, Or you could get a similar result by using |
Thank you for the suggestion, @mr-c! I will send a request for it and will introduce my own namespace to override |
This would be a new feature so it cannot go into a point release. However there are a couple of workarounds:
|
Thank you for the information and suggestion, @tetron! So how to do with this issue? |
I'm going to move this to the main CWL repo and mark it |
Sorry, I found that The spec of v1.2 says about
On the other hand, it also says:
That is, Therefore, what we want for implementing platforms for CommandLineTool is |
IMO discussing |
I'd like to hear more about how adding |
Ah, the priority! Okay, I understand. Then there should be both |
This feature will be helpful to implement a full-featured platform with another platform that only supports CommandLineTool.
Here is a use case:
The spec allows us to implement platforms that only support the CommandLineTool.
One idea to implement a full-featured platform is to implement only the control of the steps and to delegate the executions of the CommandLineTool to other platforms that support CommandLineTool.
Thanks to the
cwl:requirements
, we can easily impelement an inheritance ofrequirements
; just generating an input object withcwl:requirements
and pass it to the other platform to execute CommandLineTool.However, there are no official ways to override
hints
. It would be nice to supportcwl:hints
in addition tocwl:requirements
.The text was updated successfully, but these errors were encountered: