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

Drop xml fixtures in tests for samplesheet generation #753

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

mgcam
Copy link
Member

@mgcam mgcam commented Aug 30, 2023

Previously the tests uses XML feeds as a source of LIMS
data. All production code is using mlwh database as a
source of LIMS data. Amend tests to use mlwh data and
the default ml_warehouse lims driver.

Amended how an undefined sample public name is dealt with,
i.e. converted an error to a warning and assigned a sensible
fall-back value.

Some samplesheets are generated without names of study owners,
followers, etc. This is due to the fact that some studies
do not have fixtures for user data.

The database fixtures were generated from the current data,
this explains multiple differences between the old and new
content of the generated samplesheets.

In some tests newer production batches were used instead of
hand-crafted data.

Deleted tests for old scenarios that do not exist in production
any longer.

Deleted tests that are duplicated by similar tests with more
contemporary test data.

@mgcam mgcam marked this pull request as draft August 30, 2023 20:58
@mgcam mgcam force-pushed the drop_xml_fixtures4samplesheet branch 5 times, most recently from d70ecf3 to be6cd44 Compare August 31, 2023 15:59
Previously the tests uses XML feeds as a source of LIMS
data. All production code is using mlwh database as a
source of LIMS data. Amend tests to use mlwh data and
the default ml_warehouse lims driver.

Amended how an undefined sample public name is dealt with,
i.e. converted an error to a warning and assigned a sensible
fall-back value.

Some samplesheets are generated without names of study owners,
followers, etc. This is due to the fact that some studies
do not have fixtures for user data.

The database fixtures were generated from the current data,
this explains multiple differences between the old and new
content of the generated samplesheets.

In some tests newer production batches were used instead of
hand-crafted data.

Deleted tests for old scenarios that do not exist in production
any longer.

Deleted tests that are duplicated by similar tests with more
contemporary test data.
@mgcam mgcam force-pushed the drop_xml_fixtures4samplesheet branch from be6cd44 to 02c083d Compare September 19, 2023 15:54
@mgcam mgcam marked this pull request as ready for review September 26, 2023 12:17
@jenniferliddle jenniferliddle merged commit d0ed22d into wtsi-npg:devel Sep 26, 2023
2 checks passed
@mgcam mgcam deleted the drop_xml_fixtures4samplesheet branch October 31, 2023 09:26
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