[WIP] Allow dataset inputs via {src: "url", ...} dictionaries. #18797
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm trying to keep it highly aligned with the data fetch API. Hence
{"src": "url", ...}
and not{"src": "uri", ....}
- also "ext" instead "file_type" and "dbkey" instead of "genome_build". I'll try to implement all the rest of the options there. So far I have implementeddeferred: true/false
though in both tools and workflows. The implementation is slightly different for deferred and undeferred datasets and the implementations of these is discussed more below.Tool Implementation
queue_jobs
into multiple tasks.Workflow Implementation
Other Work & Broader Context
Builds on the tool request API (formerly #18745 part of the structured tool state work #17393).
I've also started work on the tool and workflow "landing" concept at 08b6ed9. If we can create landing requests with URLs supplied for inputs - external sites will be able to provide really nice launch points into tools and workflows with their own hosted data.
That said... being able to just use these APIS without needing to understand how to "fetch" or "upload" data into Galaxy is a really nice win in its own right - this work doesn't depend on the "landing" concept to be useful.
How to test the changes?
(Select all options that apply)
License