-
Notifications
You must be signed in to change notification settings - Fork 15
Update CM module for CM v6 #277
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #277 +/- ##
===========================================
+ Coverage 97.82% 98.56% +0.73%
===========================================
Files 16 16
Lines 4193 5075 +882
===========================================
+ Hits 4102 5002 +900
+ Misses 91 73 -18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Updating evidence synthesis results schema fro balance diagnostic and target_comparator_id * Balance meta-analysis and switching to target_comnparator_id * Fixing balance meta-analysis * Formally importing pnorm from stats to avoid R check note --------- Co-authored-by: Admin_mschuemi <Admin_mschuemi@its.jnj.com>
| balance <- DatabaseConnector::renderTranslateQuerySql( | ||
| connection = connection, | ||
| sql = sql, | ||
| database_schema = databaseSchema, | ||
| database_ids = if (is.null(databaseIds)) "" else private$.quoteSql(databaseIds), | ||
| analysis_ids = if (is.null(analysisIds)) "" else analysisIds, | ||
| snakeCaseToCamelCase = TRUE | ||
| ) |> | ||
| as_tibble() |
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.
@schuemie - when constructing the balance, it is possible that 0 analyses will pass diagnostics (i.e. rows with unblind_for_evidence_synthesis = 1 will be 0 imposed by the query above). When this happens, the remainder of the function fails since it assumes balance has data. Not sure how to gracefully handle this here so just putting a note so you can take a look.
Updates to support CohortMethod v6 and to require the use of CohortGenerator v1.