Commit Graph
12 Commits
Author SHA1 Message Date
Marius van den Beek 0e69ca8bfb Merge pull request #6545 from jmchilton/rule_builder_use_group_tags
Allow Consuming Tags in the Apply Rules Tool
2018-08-26 11:17:14 +02:00
mvdbeek 3d9c0b154a Make random_lines1 consistent on py2 and py3 (again)
Turns out integers are used as is in `random.seed()`, but strings are
hashed (in the version 1 protocol), and the hashing isn't stable. So
instead we hack around this by using `ord()` on each character and
concatenating the digits.  Yucky, but probably better than using numpy
and putting this tool on the list of tools that inherit galaxy's
environment (or adding a requirement tag and resolving with conda ...).
2018-08-10 22:21:21 +02:00
mvdbeek b7163c0597 Explicitly sort workflow step edges
This seems to be necessary so that the workflow_stability test passes
under python 2 and python3, but does change the result under python 2,
hence the updated workflows (produced by uploading and downloading the
workflow to an instance running with this commit).
2018-08-02 13:21:19 +02:00
John Chilton 5807230253 Implement rule builder rule to quickly grab group tag value.
Should make it a lot easier to nested and filter on group tag values.
2018-07-27 08:05:05 -04:00
John Chilton 4d83746cc2 Allow loading tag metadata from existing objects in rule builder.
This should allow nesting and filtering from tags - including group tags.
2018-07-26 14:53:22 -04:00
John Chilton 42ddfbde4c Fill out, polish the rule spec a little more.
Drop use of startsWith in favor of indexOf for PhantomJS testing.
2018-07-26 14:30:19 -04:00
John Chilton 19d06cb971 Rules - test case and bug fixes for adding cols for regex groups. 2018-05-04 13:39:53 -04:00
John Chilton 8af243c176 Allow rule based operations on existing collections.
Allow the rules DSL & GUI component to operate on existing collections to allow filtering, sorting, modifying identifiers and general re-organization of existing collections (e.g. the outputs of tools). Implementing this as a collection operation tool so that it should be executable interactively in the tool form and in a batch fashion as part of workflow executions.

For this to be tracked properly as a tool execution and to work properly in the tool form, I've implemented a new tool framework and tool form parameter type called "rules".

This can thought of as a more GUI friendly alternative to my proposed collection operations that consumed JavaScript expressions.

This includes API tests for both tool and workflow execution of the new tool as well as Selenium tests for tool form execution, workflow editor interactions, and workflow running.
2018-04-24 11:10:43 -04:00
John Chilton 0ab89c9c7c Implement specification for rules DSL, useful for testing both Python and JS. 2018-04-13 12:21:27 -04:00
mvdbeek 1c4476a6af Add a test for skipping jobs in workflow context
This is using the simplest of workflows. I had to
remove the chromInfo part from the workflow, because the
path referenced would be changed dynamically and so the
job search wouldn't recognize this as being equivalent.
2017-12-31 18:06:48 +02:00
John Chilton 4beb98e973 [17.01] By default, do not allow workflow invocations to schedule indefinitely.
Give up after a month but allow admins to reduce this amount as well.
2017-03-29 22:19:13 -04:00
John Chilton de35c85b65 Refactor API helpers for re-use in rest of test framework.
- Move api.helpers to base.populators.
- Refactor helper subclasses adapted to use bioblend instead of test framework stuff into base.populators for greater visibility.
- Refactor workflow format 2 testing stuff for reuse by Selenium.
2017-01-08 08:13:42 -05:00