-
Notifications
You must be signed in to change notification settings - Fork 13
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
Migrate CWL parsing from cwltool to cwl-utils #58
Conversation
e38eb72
to
461df47
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #58 +/- ##
==========================================
+ Coverage 71.08% 71.11% +0.02%
==========================================
Files 88 88
Lines 11085 11131 +46
Branches 1912 1936 +24
==========================================
+ Hits 7880 7916 +36
- Misses 2753 2768 +15
+ Partials 452 447 -5 ☔ View full report in Codecov by Sentry. |
a656498
to
025ba47
Compare
dd2d48d
to
2502ef0
Compare
2502ef0
to
8ce2b7c
Compare
0899281
to
2eadb6d
Compare
2a84f23
to
fe6fd4a
Compare
32083a0
to
8acb8ad
Compare
8acb8ad
to
28acb03
Compare
37fda1f
to
b1208e8
Compare
This commit replaces the cwltool parser with the faster auto-generated parser included in cwl-utils.
2e9cb09
to
f6c57cc
Compare
798e7db
to
667af1c
Compare
streamflow/log_handler.py
Outdated
@@ -122,5 +122,5 @@ def highlight(self, msg): | |||
) | |||
defaultStreamHandler.setFormatter(formatter) | |||
logger.addHandler(defaultStreamHandler) | |||
logger.setLevel(logging.INFO) | |||
logger.setLevel(logging.DEBUG) |
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.
logger.setLevel(logging.DEBUG) | |
logger.setLevel(logging.INFO) |
tests/test_build_wf.py
Outdated
@@ -208,7 +208,7 @@ async def test_execute_step(context: StreamFlowContext): | |||
port_target=None, | |||
port_type="string", | |||
cwl_element={}, | |||
context={"hints": {}, "requirements": {}}, | |||
context={"hints": {}, "requirements": {}, "version": "v1.2"}, |
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.
context={"hints": {}, "requirements": {}, "version": "v1.2"}, | |
context={"hints": {}, "requirements": {}, "version": CWL_VERSION}, |
from tests.utils.workflow import CWL_VERSION
tests/test_build_wf.py
Outdated
@@ -350,7 +350,7 @@ async def test_workflow(context: StreamFlowContext): | |||
port_target=None, | |||
port_type="string", | |||
cwl_element={}, | |||
context={"hints": {}, "requirements": {}}, | |||
context={"hints": {}, "requirements": {}, "version": "v1.2"}, |
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.
context={"hints": {}, "requirements": {}, "version": "v1.2"}, | |
context={"hints": {}, "requirements": {}, "version": CWL_VERSION}, |
tests/test_provenance.py
Outdated
cwl_element=cwl_utils.parser.cwl_v1_2.CommandOutputParameter( | ||
type_="string" | ||
), | ||
context={"hints": {}, "requirements": {}, "version": "v1.2"}, |
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.
context={"hints": {}, "requirements": {}, "version": "v1.2"}, | |
context={"hints": {}, "requirements": {}, "version": CWL_VERSION}, |
d51b266
to
b5e587a
Compare
b5e587a
to
eff0ca1
Compare
This commit replaces the
cwltool
parser with the faster auto-generated parser included incwl-utils
. Starting from this commit,cwltool
is no more a StreamFlow requirement.