Commit Graph
41 Commits
Author SHA1 Message Date
Nicola Soranzo 08d42ea24f Merge branch 'release_24.0' into release_24.1 2024-06-19 13:14:15 +01:00
mvdbeek dd171fe34d Add test tool for default ext handling in discovered collections 2024-06-13 12:53:28 +02:00
mvdbeek b8e2bfc9c7 Merge branch 'release_24.0' into release_24.1 2024-06-11 13:42:48 +02:00
mvdbeek 8bc3f2151a Add tool that produces all types of outputs 2024-06-08 16:27:49 +02:00
John Chilton 46e83e178d Implement a cross product collection operation tools.
These are available in a list(n) x list (m) -> list(nxm) version (a cross product that produces two flat lists) and a list(n) x list(m) -> list(n):list(m) version (a cross product that produces two nested lists).

After two lists have been run through one of these two tools - the result is two new lists that can be passed into another tool to perform all-against-all operations using Galaxy's normal collection mapping semantics.

The choice of which to use will depend on how you want to continue to process the all-against-all results after the next step in an analysis. My sense is the flat version is "easier" to think about and pick through manually and the nested version perserves more structure if additional collection operation tools will be used to filter or aggregate the results.

Some considerations:

Apply Rules?

I do not believe the Apply Rules tool semanatics would allow these operations but certainly the Apply Rules tool could be used to convert the result of the flat version to the nested version or vice versa - so no metadata is really lost per se between the two versions. I think it is still worth including both versions though - they both have utility (both for instance are baked into CWL's workflow semantics - https://docs.sevenbridges.com/docs/about-parallelizing-tool-executions#nested-cross-product) and avoiding requiring complex Apply Rules programs for simple workflows is probably ideal.

One Tool vs Two?

Marius and I agree that few simpler tools for these kinds of operations are better. The tool help can be more focused and avoiding the conditional and conditional outputs make the static analysis done for instance by the workflow editor simpler.
2024-04-15 12:00:30 -04:00
mvdbeek 6f2a04321d Merge branch 'release_24.0' into dev 2024-04-04 18:55:04 +02:00
mvdbeek 969e995a9b Add test tool w/ dynamic select in conditional
Include this in a workflow, and notice that the run form breaks
if the history contains a dataset that trips up the dynamic parameter.
2024-04-02 19:10:20 +02:00
Marius van den Beek e2b67da82c Merge pull request #17581 from kostrykin/files_assertions_images
Add content assertion XML tags for test output verification using images
2024-03-13 13:08:55 +01:00
mvdbeek 184d880b11 Merge branch 'release_24.0' into dev 2024-03-05 17:05:06 +01:00
Marius van den Beek eeb2d04c78 Merge pull request #16885 from bernt-matthias/topic/dynamic-multiple
Add test and doc showing how dynamic selects are used
2024-03-05 16:25:14 +01:00
Marius van den Beek b7c14c6559 Merge pull request #17294 from lldelisle/filter_paused
[24.0] Add ``__KEEP_SUCCESS_DATASETS__``
2024-03-05 16:18:20 +01:00
Leonid Kostrykin 9a15904e44 Add has_image_metadata test assertion 2024-03-04 17:28:18 +00:00
Nicola Soranzo 3f0f789b82 Merge pull request #17556 from kostrykin/files_diff_images
Add `image_diff` comparison method for test output verification using images
2024-03-04 17:04:44 +00:00
Leonid Kostrykin 3bb63ee5fa Add functional test for image_diff 2024-02-27 19:22:33 +01:00
John Davis 4cc9a7a938 Merge pull request #16662 from lldelisle/synchronize_collections
Add harmonize collections tool (or whatever other name)
2024-02-26 15:06:17 -05:00
mvdbeek 67ab6a0ff0 Basic support for getting select options from URLs
Updating regular tool data tables for frequently changing data is a
little tricky, and it was requested that we allow loading options
dynamically from a URL. The eventual goals of this work is to enable
exploring resources with great APIs (NCBI datasets is a good exmaple)
from within Galaxy tools.

This doesn't do any of that yet ... it's just a simple URL one can
query with a GET request, and the data there must be in the format
["name", "value", True|False].

Following steps:
  - [x] allow templating (Cheetah ? JS?)
  - [x] allow post-processing to extract name-value pairs
    - jq-like syntax ?
    - [x] JS expression ?
  - add pagination (requires work on vue-multiselect)
  - add request caching

Some potential issues:
  - Slow server responses: use async library and cancel request after N
    seconds ?
  - Large respons ... stream response and cancel after configurable max
    response size ?
2024-02-12 15:47:59 +01:00
Lucille Delisle 5ba85f3f9f add the tool to the sample_tool_conf.xml 2024-01-25 16:21:22 +01:00
mvdbeek 686ec6fac4 Merge branch 'release_23.1' into dev 2023-11-21 09:36:51 +01:00
John Chilton edcc043b61 Make testing tool panel views a little easier. 2023-11-15 11:04:28 -05:00
John Chilton ea0fe8053b Merge pull request #14955 from jmchilton/default_uris_2
Implement default locations for data and collection parameters.
2023-11-06 10:05:00 -05:00
Nicola Soranzo 1e86672f83 Allow non-optional integer/float params without `value` attribute
Previously a tool with such an input would fail to load.

Add test tool.
2023-11-02 17:19:43 +00:00
John Chilton dce53769bd Implement default locations for data and collection parameters.
Works for both files and collections. Workflow defaults override tool defaults.

TODO:

- Unit test case to ensure this only works for non-default, non-multi data parameters.
- Implement XSD once syntax is finalized.
2023-11-01 11:52:44 -04:00
Matthias Bernt ad89822c12 add test showing how dynamic selects are used 2023-10-19 15:43:17 +02:00
guerler bf02dc9948 Drop library_data input type 2023-10-17 10:29:26 +03:00
Lucille Delisle 6fda698c6e rename synchronize to harmonize thanks @jmchilton 2023-09-07 17:56:44 +02:00
Lucille Delisle 3eeb117b07 add it to tests and tool_conf 2023-09-07 17:52:12 +02:00
Laila Los c52dba0c3a add selenium test for reordering repeat blocks 2023-08-14 10:29:45 +02:00
Matthias Bernt 13b59afa67 add framework test for profile behavior of format="input"
stumbled over this here: https://github.com/galaxyproteomics/tools-galaxyp/pull/679
could not find a test
2023-07-30 18:49:55 +02:00
Marius van den Beek fa64fc646d Merge pull request #15825 from bernt-matthias/validation_metadata
Add ability to assert metadata properties on input dataset parameters
2023-07-29 12:00:32 +02:00
davelopez 49719e20cc Partially revert #15510
This solution was suboptimal as it moved around too much unnecessary data
2023-06-28 12:28:06 +02:00
Matthias Bernt 4a28bc3525 restructure tests and add tests for explicit container resolvers 2023-06-14 15:28:43 +01:00
John Chilton 1f56fa37d7 WIP: metadata validation. 2023-06-06 10:02:29 +02:00
Marius van den Beek ec9f216b73 Merge pull request #15978 from mvdbeek/fix_recording_param_path
Record input datasets and collections at full parameter path
2023-06-04 17:47:51 +02:00
mvdbeek 5e0d80bd34 Test `format_source` with conditional inputs 2023-06-01 17:50:30 +02:00
mvdbeek c1a055ff2f Merge branch 'release_23.0' into dev 2023-05-25 16:36:34 +02:00
mvdbeek dca783b185 Add test tool for triggering implicit bigwig to wig converter 2023-05-24 10:54:31 +02:00
Nicola Soranzo c655360e4e Merge branch 'release_23.0' into dev 2023-04-05 12:39:43 +01:00
Matthias Bernt ab9377d6c5 add test case for https://github.com/galaxyproject/tools-iuc/issues/5163 2023-03-30 11:18:43 +02:00
davelopez ad9640f58a Add functional tool test 2023-02-16 14:46:50 +01:00
Dannon Baker 5ac7306c91 Merge remote-tracking branch 'upstream/release_22.05' into release_23.0 2023-02-08 11:56:34 -05:00
Dannon Baker d04fb67396 Rename samples_tool_conf to sample_tool_conf to match datatypes/data_manager naming convention 2023-01-10 10:03:23 -05:00