-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[24.2] Add bwa_mem2_index directory datatype, framework enhancements for testing directories #19694
base: release_24.2
Are you sure you want to change the base?
[24.2] Add bwa_mem2_index directory datatype, framework enhancements for testing directories #19694
Conversation
1374fff
to
84e3350
Compare
bc1dcaa
to
a43e655
Compare
Why 24.2 😅 - I mean I think switching the upload API for the tool tests is a long standing issue that I'm so excited to see resolved but it is a big thing that should probably be against dev right? |
for tool tests, which were still using upload1.
This was super-confusing when I used an admin key with `galaxy-tool-test`.
5a0e23b
to
23a623d
Compare
66cd66f
to
7770878
Compare
bc8e424
to
b7238a0
Compare
Co-authored-by: Björn Grüning <[email protected]>
2bebf19
to
e6b27a3
Compare
As a nice side effect the tool framework tests are almost twice as fast, since |
These are (almost, with the exception of being able to set metadata on composite datasets) exclusively client-side changes in tool-util that enable directory datasets to be used in tests ... that's what I meant with "essentially a one-liner". All of this should already work against galaxy going back as far as 18.05, when |
Test failures are unrelated ... should I build a planemo branch that uses this against the IUC codebase or are we ok as is ? |
Which is an extensive code base with large implications and worthy some sort of versioning I think. I wouldn't say just because something doesn't affect the backend - it isn't part of the versioned interface of Galaxy. That said - I'm excited about this and I trust you will handle any Planemo fallout. I'm a +1 as is despite the branch target reservations. |
Thank you, I appreciate that! |
This is essentially a one-liner with a lot of testing work 😅.
The basic need is for a directory datatype, subclasses like
bwa_mem2_index
can represent most if not all reference data.Here I've switched our primary tool testing function over to target
__FETCH_DATA__
(workflow tests are already using this), and I fixed up cwl-style directory uploads which (at least currently) are not working.It is now possible to upload directories in xml tool tests and workflow tests (via planemo and our internal framework).
Also adds
format
into the expression input object, so we can use format to decide if a workflow step needs to run.How to test the changes?
(Select all options that apply)
License