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

195 implement metatranscriptomics workflow definition in workflow automation framework #246

Merged
merged 53 commits into from
Sep 24, 2024

Conversation

mbthornton-lbl
Copy link
Contributor

@mbthornton-lbl mbthornton-lbl commented Sep 9, 2024

This PR provides updates to test fixtures and unit tests to enable the MetaTranscriptomics worflow configuration to be run in the workflow automation framework.

Updates to test fixtures:

  • bring existing test fixtures into line with current schema
  • add test fixtures for metaT
  • DRY up and refactor existing test fixtures
  • Add fixtures/db_utils.py for test_db setup / teardown and fixture loading

Updated Tests to cover workflow automation functionality with data fixtures for both MetaG and MetaT

Scheduler tests for both metaG and metaT workflows

  • test_submit
  • test_progress

Load Activities tests for Job creation for MetaG and MetaT workflows

  • test_activities

WorflowJob Model

Workflow Utils

  • Update Workflow model to include Analyte Category

Other

  • move workflows.yaml files to be under nmdc_automation/config to fix path issues
  • bring test_data into tests/

- use the same configs/workflows.py as automation uses
- update test db fixtures to conform better to current schema
- re-named fixture data objects for readability

1 failing test `test_multple_versions`
@mbthornton-lbl mbthornton-lbl linked an issue Sep 9, 2024 that may be closed by this pull request
@mbthornton-lbl mbthornton-lbl changed the title DRAFT. 195 implement metatranscriptomics workflow definition in workflow automation framework 195 implement metatranscriptomics workflow definition in workflow automation framework Sep 19, 2024
@mbthornton-lbl mbthornton-lbl marked this pull request as ready for review September 19, 2024 18:41
Copy link
Contributor

@aclum aclum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments on test_load_workflows.

Also not a blocker but for all test data 'name' should be the file name, it is currently a mix of a description and a file name. Also empty keys should be left out, there are several times in the test data where alternative_identifiers is present but empty.

@mbthornton-lbl
Copy link
Contributor Author

Simplified name values in DataObject - i.e. not file names, are intended to make the fixtures more maintainable

@mbthornton-lbl mbthornton-lbl merged commit c003242 into main Sep 24, 2024
1 check passed
@mbthornton-lbl mbthornton-lbl deleted the 195-implement-metatranscriptomics-workflow branch September 24, 2024 16:57
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.

Implement MetaTranscriptomics Workflow
3 participants