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

cwltool: upgrade to the latest version #192

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

audrium
Copy link
Member

@audrium audrium commented Jul 13, 2021

closes #187

  • reana-dev run-example -w cwl works as expected
  • complexity estimation works as expected

@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2021

Codecov Report

Merging #192 (56e3cc1) into master (1b571e1) will increase coverage by 0.22%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
+ Coverage   24.81%   25.04%   +0.22%     
==========================================
  Files          10       10              
  Lines         548      551       +3     
==========================================
+ Hits          136      138       +2     
- Misses        412      413       +1     
Impacted Files Coverage Δ
reana_workflow_engine_cwl/cwl_reana.py 15.03% <50.00%> (+0.29%) ⬆️
reana_workflow_engine_cwl/tasks.py 71.42% <50.00%> (-1.65%) ⬇️

@@ -280,6 +280,13 @@ def shouldquote(x):

return create_body

def _required_env(self):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@audrium audrium force-pushed the cwl-upgrade branch 2 times, most recently from ecef29a to 56e3cc1 Compare August 26, 2021 09:47
Copy link
Member

@tiborsimko tiborsimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely for Kubernetes backend 👍

@@ -53,7 +37,6 @@ def run_cwl_workflow_engine_adapter(
**kwargs,
):
"""Run cwl workflow."""
workflow_parameters = parse_str_to_int(workflow_parameters)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW seeing the removal of parameters made me want to retest the partial workflow execution concept. We seem to have troubles there:

$ reana-client run -f ./reana-cwl.yaml -w partial -o TARGET=gendata
...
partial.1 has been queued

$ reana-client logs -w partial                                     
==> Workflow engine logs
Workflow exited unexpectedly.
Not found: 'TARGET'

Also:

$ reana-client restart -w partial -o TARGET=gendata
Cannot start workflow partial: 
==> ERROR: Operational option "--target" not supported.

But I guess it may not be working properly in master either...

Have you been looking at similar "target" possibilities while upgrading the cwltool version? If not, shall we create a new issue and test it separately from this PR set? (as it is otherwise good to go?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually haven't tested this.. Created a new issue to address this trouble

@tiborsimko tiborsimko merged commit 0bf38f4 into reanahub:master Aug 30, 2021
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

Successfully merging this pull request may close these issues.

Upgrade to newer cwltool for CWL v1.2 support
3 participants