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

MG45 - ADT: Pathology data ETL #149

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

beatrizsaldana
Copy link
Member

@beatrizsaldana beatrizsaldana commented Oct 4, 2024

Adding pathology dataset to the set of transforms.

See Jira ticket for more information

The pathology and biomarkers datasets have the same fundamental input and output structure and require the same transform. Instead of duplicating code, the existing transform for the biomarkers dataset was generalized to allow it to be used by the pathology dataset. All related tests were also generalized but were not functionally changed.

Changes

  1. IMPORTANT - Most changes are just re-naming files and functions. Github does not do a good job of highlighting this.
  2. pathology dataset was added to modelad_test_config.yaml.
  3. pathology dataset was added to process.py.
  4. biomarkers_transform function was renamed to modelAD_general_transform.
  5. Extra input parameters were added to modelAD_general_transform to allow multiple datasets to use it.
  6. Biomarkers test names (files, functions, and assets) were updated. The actual tests and assets were not changed.

src/agoradatatools/process.py Outdated Show resolved Hide resolved
tests/transform/test_modelAD_general_transform.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jaclynbeck-sage jaclynbeck-sage left a comment

Choose a reason for hiding this comment

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

Looks great pending the couple of changes requested by Brad and Jess!

Copy link

sonarcloud bot commented Oct 7, 2024

Copy link
Contributor

@BWMac BWMac left a comment

Choose a reason for hiding this comment

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

🚀 LGTM! 🚀

Copy link
Contributor

@jaclynbeck-sage jaclynbeck-sage left a comment

Choose a reason for hiding this comment

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

Excellent!

@beatrizsaldana beatrizsaldana merged commit 105ddc9 into dev Oct 9, 2024
9 checks passed
@beatrizsaldana beatrizsaldana deleted the beatrizsaldana/MG-45/ADT-Pathology-data-ETL-2 branch October 14, 2024 20:32
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.

4 participants