Skip to content
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

[GH-1172] Start System Test for sarscov2_illumina_all Automation #334

Merged
merged 18 commits into from
Mar 2, 2021

Conversation

ehigham
Copy link
Member

@ehigham ehigham commented Feb 26, 2021

RR: https://broadinstitute.atlassian.net/browse/GH-1172

This PR includes the start of an end-to-end system test for the sarscov2_illumina_all. The test aims to test creating, starting and stopping a workload to automate pipeline submission from and to the source and sink TDR datasets. We don't have much of this functionality yet so this test just sketches the expected behaviour.

In the test, I've expended on rename-gather as a means of converting pipeline names to dataset names (and vice versa). I'm currently using it to conform build a dataset ingest request from inputs.
The mapping (dataset-from-inputs.edn) defines how to construct a row in the dataset table from the inputs of the pipeline. rename-gather is an interpreter for this mapping. There are issues which I'll solve another time, namely how to coerce between json and a map.

There's some code duplication in dataset ingest code as it's not clear how to group this yet or if it will need to be split up, say if we want to record what the dataset ingest job IDs were if WFL crashes.

@ehigham ehigham force-pushed the ehigham/GH-1172-sarscov2-illumina-full branch 2 times, most recently from b03dd34 to 4da8383 Compare February 27, 2021 00:05
@ehigham ehigham force-pushed the ehigham/GH-1172-sarscov2-illumina-full branch from 4da8383 to b855da3 Compare February 27, 2021 00:09
@ehigham ehigham changed the title start writing system test for sarscov2_illumina_all automation [GH-1172] Start System Test for sarscov2_illumina_all Automation Mar 1, 2021
@ehigham ehigham marked this pull request as ready for review March 1, 2021 19:42
@tbl3rd tbl3rd self-requested a review March 1, 2021 22:46
instead and therefore the values will be strings. Change `rename-gather`
to reflect this.
api/src/wfl/environment.clj Show resolved Hide resolved
api/test/wfl/tools/datasets.clj Show resolved Hide resolved
api/test/wfl/tools/datasets.clj Show resolved Hide resolved
api/test/wfl/tools/workflows.clj Show resolved Hide resolved
api/test/wfl/tools/datasets.clj Show resolved Hide resolved
api/test/wfl/unit/datasets_test.clj Show resolved Hide resolved
@ehigham ehigham merged commit f4c0f52 into main Mar 2, 2021
@ehigham ehigham deleted the ehigham/GH-1172-sarscov2-illumina-full branch March 2, 2021 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants