Commit Graph
952 Commits
Author SHA1 Message Date
mvdbeek ca080eeef1 Start tool tag with param name 2019-11-05 18:03:44 +01:00
mvdbeek 6931ea733b Add test for implicit conversion in multi_data inputs 2019-11-05 14:37:07 +01:00
mvdbeek b4da81c8e7 Change unicode test tool
To produce NULL character. This tool fails locally but not
if testing against the jenkins framework tests or using
external docker-galaxy-stable. I don't understand why.
2019-06-17 10:16:17 +02:00
mvdbeek 974f45b043 Allow mapping over of expression tool params
This allows feeding a collection of parameters values to a parameter
value. This enables https://github.com/galaxyproject/tools-iuc/pull/2404#issuecomment-491740393
for instance, where we normalize a collection based on a computed
parameter.
2019-05-14 00:14:34 +02:00
Bjoern Gruening 102b619c43 make tests stricter 2019-04-30 09:47:06 +02:00
Bjoern Gruening bec0d87f4c ordering matters 2019-04-30 00:12:28 +02:00
Bjoern Gruening 1d2126a84e enable input composite data 2019-04-29 19:09:18 +02:00
Björn Grüning 1e2528b754 fixing file names in tests 2019-04-29 14:09:33 +02:00
Marius van den Beekandbgruening 977c59fa0a Update test/functional/tools/composite_shapefile.xml
Co-Authored-By: bgruening <bjoern@gruenings.eu>
2019-04-29 10:55:12 +02:00
Bjoern Gruening 75c53409a0 add datatype and tool to the tests 2019-04-29 09:50:00 +02:00
Bjoern Gruening 21a60e3020 add shapefile test 2019-04-25 16:43:06 +02:00
mvdbeek 272a136970 Add test tools for implicit coversion of collection input 2019-04-08 18:33:57 +02:00
mvdbeek 54b9609896 Merge branch 'release_19.01' into dev 2019-04-08 18:29:11 +02:00
mvdbeek 966cad890e Fix fasta.gz uploads
This looks like it may probably broke with https://github.com/galaxyproject/galaxy/commit/fce2dd3ae801cd13a542388746b84f9cca2a4c48
2019-04-07 23:15:35 +02:00
mvdbeek 5f578d4108 Add double conversion test 2019-04-07 23:15:35 +02:00
mvdbeek 3e3d15a84b Add test that verifies ftype is being set correctly 2019-04-07 23:15:35 +02:00
Dannon cf5770f2d3 Merge pull request #7642 from jmchilton/workflow_editor_nodes
Provide feedback on why workflow editor nodes won't connect.
2019-04-02 16:26:08 -04:00
Nicola Soranzo 057afbca9a Merge branch 'release_19.01' into dev 2019-04-02 11:02:46 +01:00
John Chilton 2f9c93aea1 Provide feedback on why workflow editor nodes won't connect. 2019-04-01 11:34:00 -04:00
mvdbeek 8db8ce5de4 Fix float to int casting
Fixes https://github.com/galaxyproject/galaxy/issues/998
2019-03-31 17:15:46 +02:00
mvdbeek 4912f7a97d Don't unhide mapped-over outputs when job fails
The parent dataset collection now shows the failed datasets,
and that is much easier to deal with when all jobs within
a large collection have failed.
Fixes https://github.com/galaxyproject/galaxy/issues/7492

One downside here is that we don't see anything in the history right
away (except for the failed dataset count) if a hidden collection
contains failed datasets.
2019-03-30 14:49:59 +01:00
mvdbeek db0c39370f Test that switching parameters results in filtered outputs 2019-03-21 20:25:43 +01:00
John Chilton ee078d315c Fix expression tool type parsing and docs.
Thanks to @martenson for the catch.
2019-03-20 16:57:38 -04:00
John Chilton f5c93e868b Implement expression tools and non-data tool outputs.
PR #6925 introduced a GUI for connecting non-data (e.g. integer, boolean, color, etc..) workflow input parameter to tool input parameters (the backend for this was originally added in #1306). That ideally was just the beginning of work toward using such values in structured ways in workflows.

This PR extends tool output handling to allow producing of non-data parameters. These can serve as a source for non-data values in workflows the same work workflow input parameters can. To make such values more easy to produce, this PR also introduces Galaxy expression tools - mirroring functionality regularly used in CWL. These small JavaScript-based tools that consume inputs just like a regular Galaxy tool but that produce dictionary of non-data values.

I think these expressions will be maximally useful when paired with format 2 workflows once we allow users to load arbitrary tools (I make the case more in full here https://github.com/galaxyproject/galaxy/pull/7545#issuecomment-473894424), but I outline some potential uses there as well.

Because there is always a checklist in my PR descriptions:

- Tool definition language and plumbing and datatype for expressing expressions as jobs.
- Allow connecting expression tools to parameters in workflows, will delay evaluation of workflow so calculated value
- Example test expression tools for testing and demonstration.
2019-03-19 17:20:18 -04:00
Martin Cech 75ae68693f remove biostar integrations
we stopped using it and this will lower our maintenance burden
2019-03-11 15:51:41 -04:00
Nicola Soranzo 417292b501 Merge branch 'release_19.01' into dev 2019-03-10 21:44:29 +00:00
Martin Cech c714b6e665 Merge pull request #7288 from fmareuil/dev
Add a validator that ensures one metadata is between min and max values
2019-03-07 12:17:17 -05:00
Marius van den Beek 381406e9ec Merge pull request #7095 from jmchilton/structured_job_outputs
More Structured Job I/O Tracking
2019-03-05 16:55:52 +01:00
mvdbeek 8212f5d57d Fix test tool label and tool xsd 2019-03-05 16:00:10 +01:00
mvdbeek 5c521e1ba8 Test that switching parameters results in filtered outputs 2019-03-05 14:58:18 +01:00
John Chilton 0fe13b7e5a Seperate tool and job script standard I/O.
This should allow Galaxy to reason about what the tool reports vs. what dependency resolution and metadata reports, allow us to enable logging during metadata collection, and allow us to reason about the tool's I/O from inside the job script during cleanup/metadata collection at the end.
2019-03-04 15:39:07 -05:00
John Chilton b47a8631bb Track job failure reasons in a more structured way. 2019-03-04 15:38:45 -05:00
M Bernt 959af578d0 fixed linting and copy paste errors 2019-03-04 15:38:45 -05:00
M Bernt 39b8f78720 added test and changed modification of stdout/err
before stdout and stderr were modified while testing for exit codes and
regexes. this had the potential problem that later tests also checked
this output which might lead to confusions.

furthermore a marker line has been introduces which differentiates
Galaxy and original tool output
2019-03-04 15:38:45 -05:00
mvdbeek 76be1263ca Test that workflows with hidden params can be run 2019-03-04 18:41:51 +01:00
Martin Cech cb7566ef02 Merge pull request #7400 from thermokarst/zippertest
ENH: multifile zip testing
2019-03-02 14:08:59 -05:00
mvdbeek 05481d57a1 Add tool test for metadata_in_range
Reduce copy and paste by inheriting from InRangeValidator and
add new validator to xsd schema.
2019-02-27 21:50:13 +01:00
Matthew Dillon 091fe8121a SQUASH: Adding in other archive containers
Per discussion with @bgruening
2019-02-26 16:43:23 -07:00
Matthew Dillon 8e82fc7191 SQUASH ME: rename suggestion from @bgruening 2019-02-26 08:36:30 -07:00
Matthew Dillon 012cf387d7 ENH: multifile zip testing 2019-02-21 11:59:26 -07:00
mvdbeek c61c790fcc Make kubernetes pass GALAXY_SLOTS and GALAXY_MEMORY_MB
Also drops __transform_cpu_value, incoming values are always
strings, so this wasn't functional in any case.
2019-02-19 13:28:18 +01:00
M Bernt 245eb97693 test: added a test check for counting paired collections 2019-02-14 09:25:04 +01:00
Nicola Soranzo 21ce99e231 Merge branch 'release_19.01' into dev 2019-02-12 12:03:03 +00:00
Bjoern Gruening d36cf51f6b change "name" to "key" 2019-02-06 16:31:15 +01:00
John Chilton 2a97f726cc Tweaks to hdf5 testing.
- This is in galaxy-lib so h5py import should probably be conditional.
- Namespace very generic test functions a bit by adding h5 into the names.
- Stricter validation of XSD (the other assertions don't have this but that is problematic on their part), I'm not sure if the docs will render unevenly now though - we may want to revisit that and do this for all the assertions.
2019-02-05 08:45:46 -05:00
Bjoern Gruening d4420b7566 register new test tool 2019-02-05 04:22:15 +01:00
Bjoern Gruening db2987b2b2 add test tool for new assertions 2019-02-05 04:21:02 +01:00
Nicola Soranzo d5a406cef7 Fix errors reported by new flake8 3.7.3 2019-01-31 13:47:21 +00:00
John Chilton 681225bc9c Merge pull request #7144 from jmchilton/remove_collect_outputs_from
Remove collect_outputs_from option.
2019-01-07 10:42:40 -05:00
mvdbeek c0b63a18c7 Fix container integration tests 2019-01-06 15:01:31 +01:00