-
-
Notifications
You must be signed in to change notification settings - Fork 231
downloads remote inputs via HTTP(S) #466
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
Comments
Strictly speaking, this isn't a regression because it was never implemented for file inputs in the first place, only for document loading. But I agree it should fetch remote http resources, the main challanege is there are some caching issues to work out if you don't want to have to pull large inputs on every run. |
@tetron Thanks for the clarification. I thought it was implemented from the beginning |
re: file caching possible inspiration? https://dockstore.org/docs/advanced-features#input-file-cache |
Thank you for the pointer @denis-yuen Yes, we should reuse |
Is this related, or should I open a separate thread?
|
@standage not related (and I can't reproduce with either 1.0.20170713151519 or the latest dev 1.0.20170714133745) Can you open a separate issue with the output of |
I can't reproduce either. :-) I'll just chalk it up to transient environment config weirdness. |
Hi @mr-c I am thinking of two ways to do this. in Pathmapper https://github.com/common-workflow-language/cwltool/blob/master/cwltool/pathmapper.py#L219
|
I option 1 is the right one. CreateFile is for file literals, and stores the the data directly in memory, which won't work if the data is large. For comparison, the arvados-cwl-runner does something similar, although for uploading local files to the server rather than downloading locally, but the principal is the same: https://github.com/curoverse/arvados/blob/master/sdk/cwl/arvados_cwl/pathmapper.py#L136 |
@mr-c Can we close this |
Yep! To get an issue to automatically close when a PR is merged, end the Pull Request description with |
Expected Behavior
a URI should be accepted for inputs with
type: File
http://www.commonwl.org/v1.0/CommandLineTool.html#File
Actual Behavior
Workflow Code
Full Traceback
The text was updated successfully, but these errors were encountered: