-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
draft schema for input paramater restrictions extension #1665
base: main
Are you sure you want to change the base?
Conversation
72e56ba
to
a3b0e77
Compare
Codecov Report
@@ Coverage Diff @@
## main #1665 +/- ##
===========================================
- Coverage 66.86% 55.12% -11.75%
===========================================
Files 93 47 -46
Lines 16622 8376 -8246
Branches 4414 2185 -2229
===========================================
- Hits 11114 4617 -6497
+ Misses 4366 3203 -1163
+ Partials 1142 556 -586
Continue to review full report at Codecov.
|
Is this related to the CTD mapping/translation effort? |
Yes, this is the beginning of an implementation of the input value restriction proposal inspired by CTD Basically to get the checks working. I'd like to develop a more concise syntax either before the extension is released, or before the proposal to CWL v1.3+ is made |
Is there documentation you can link to specifically for the CTD value restriction model? The 2018 proposal seems a little over-complicated with different types of intervals. I started working on a simpler proposal here but haven't followed up on it: https://github.com/common-workflow-language/schema_salad/tree/constraints |
Nothing in their XSD, alas https://github.com/WorkflowConversion/CTDSchema/blob/5ab34f57cc18cf472aac109e9bdde0e40855dda2/Param_1_7_0.xsd#L39 Digging through the CTDConverter & CTDOpts code we learn that the It is the CTD people who asked for more control over intervals in the 2018 proposal; is each end of the interval exclusive or inclusive? |
This pull request introduces 1 alert when merging c6c9fe5 into ef7cb30 - view on LGTM.com new alerts:
|
af87ecc
to
3ca50e0
Compare
This pull request introduces 1 alert when merging 2ba09a2 into ef7cb30 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
2ba09a2
to
abf86c7
Compare
This pull request introduces 1 alert when merging abf86c7 into 84a297f - view on LGTM.com new alerts:
|
(Partial) implementation of common-workflow-language/common-workflow-language#764
Requires common-workflow-language/schema_salad#535
See also common-workflow-language/schema_salad@0acde77