-
Notifications
You must be signed in to change notification settings - Fork 597
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
Add flag for cost_observability table writing to support sub-cohort use case [VS-521] #8093
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## ah_var_store #8093 +/- ##
================================================
Coverage ? 19.702%
Complexity ? 10708
================================================
Files ? 2173
Lines ? 164868
Branches ? 17686
================================================
Hits ? 32482
Misses ? 129238
Partials ? 3148 |
} | ||
|
||
Boolean write_cost_to_db = if ((gvs_project != destination_project_id) || (gvs_project != query_project)) then false else true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TOL can this be simplified (actual question, I don't know)?
Boolean write_cost_to_db = if ((gvs_project != destination_project_id) || (gvs_project != query_project)) then false else true | |
Boolean write_cost_to_db = (gvs_project == destination_project_id) && (gvs_project == query_project) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Github actions tests reported job failures from actions build 3516053178
|
This PR adds documentation for the
GvsExtractCohortFromSampleNames
workflow and tweaks the handling of thecost_observability
table to allow it to be disabled for prepare/extract if using different Google project IDs for GVS source and sub-cohort tables (an AoU use case).Successful run: https://app.terra.bio/#workspaces/gvs-dev/RSA%20-%20GVS%20Quickstart%20V2%20/job_history/a8db0d7d-86db-48eb-8bd9-df58abd4ba3a