ohsu-comp-bio / cwl-tes

cwl-tes submits your tasks to a TES server. Task submission is parallelized when possible.
Apache License 2.0
18 stars 28 forks source link

Only download required input files #52

Open uniqueg opened 3 years ago

uniqueg commented 3 years ago

cwl-tes currently downloads all input files. However, in a setting where tasks are computed in TES, cwltool/cwl-tes will only need access to the files in cases tasks need to be created/scheduled dynamically depending on file content. In most cases, this probably won't be necessary and just makes the implementation slow and inflexible.

I would propose to implement a flag to explicitly download all input files, so that cwl-tes's default behavior is to download only those files it really needs to inspect.

There is some discussion here on where/how this could be implemented.