-
Notifications
You must be signed in to change notification settings - Fork 29
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
Clarification required: tesOutput.path_prefix #194
Comments
A few more clarifications to discuss:
Ideally: TES should return HTTP status code 400 "Bad Request"
It seems we should add a
Logically, I just want to upload all children of that path, to the URL destination of my choice. As a tool developer, this is the most canonical thing I would want to do:
After running the tool, here are the local files:
And what I would expect in cloud storage:
|
All good questions. I think some of the answers to the questions (or at least the reasoning why things were changed/introduced as they were) may be available in the following PRs and corresponding issues: I would also like to add @bentsherman & @pditommaso to this thread, as handling of wildcards as well as making the file type optional were changes introduced mostly with Nextflow in mind. |
From Nextflow's perspective, we just need to be able to specify an output glob and send it to the task directory, which the 1.1 spec appears to provide.
Making the output type optional just makes sense because the implementation should be able to figure it out at runtime. We are testing the Nextflow changes in this PR: nextflow-io/nextflow#4195 if anyone would like to follow along, particularly the changes to |
@bentsherman we have a proposal to remove |
I assume you're proposing to use the |
In the spec it appears that
tesOutput.path_prefix
is ignored iftesOutput.path
doesn't contain wildcards.However, when there are no wildcards provided we are still pruning the paths of the parent to just include the child.
This selective use of
path_prefix
seems confusing and what we be more consistnt to implement is always use thepath_prefix
such that you could do this:Thoughts @uniqueg, @kellrott , @wleepang ?
The text was updated successfully, but these errors were encountered: