Skip to content

Commit

Permalink
Release 3.2.1 (#1049)
Browse files Browse the repository at this point in the history
* Update RunDiagnostics.R (#1048)

- fixing small bug reported in issue 1047

* Require Andromeda version to prevent DatabaseConnector from crashing execution mid run

* Package maintenance

* Package maintenance

* Added migrations for cohort table name to be varchar max for cohort subsets which can have huge names

* Fix for sqlite migration (missing columns in subset)

* Postgres migration fix

---------

Co-authored-by: jreps <[email protected]>
  • Loading branch information
azimov and jreps committed Apr 12, 2023
1 parent 0e3764f commit 311e7c6
Show file tree
Hide file tree
Showing 47 changed files with 225 additions and 94 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: CohortDiagnostics
Type: Package
Title: Diagnostics for OHDSI Cohorts
Version: 3.2.0
Version: 3.2.1
Date: 2022-12-19
Authors@R: c(
person("Gowtham", "Rao", email = "[email protected]", role = c("aut", "cre")),
Expand All @@ -24,7 +24,7 @@ Depends:
FeatureExtraction (>= 3.2.0),
R (>= 4.1.0)
Imports:
Andromeda,
Andromeda (>= 0.6.0),
ResultModelManager,
checkmate,
clock,
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
CohortDiagnostics 3.2.1
=======================

1. Added requirement for Andromeda 0.6.0 (which is implicitly required by DatabaseConnector)

2. Fixed issue saving cohort subsets to csv file for viewing and analysis in shiny app

CohortDiagnostics 3.2.0
=======================

Expand Down
3 changes: 2 additions & 1 deletion R/ConceptSets.R
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,8 @@ runConceptSetDiagnostics <- function(connection,
"cohortId",
"conceptSetId",
"conceptId"
) %>% dplyr::distinct()
) %>%
dplyr::distinct()

resolvedConceptIds <- makeDataExportable(
x = resolvedConceptIds,
Expand Down
2 changes: 1 addition & 1 deletion R/RunDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ executeDiagnostics <- function(cohortDefinitionSet,
})
subsetDefinitions <- data.frame()
for (subsetDef in dfs) {
subsetDefinitions <- rbind(subsetDefinitions, dfs)
subsetDefinitions <- rbind(subsetDefinitions, subsetDef)
}

writeToCsv(
Expand Down
2 changes: 1 addition & 1 deletion R/TimeSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ executeTimeSeriesDiagnostics <- function(connection,
)
}
)

data <- makeDataExportable(
x = data,
tableName = "time_series",
Expand Down
4 changes: 2 additions & 2 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docs/articles/CreatingAStudyPackage.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions docs/articles/DatabaseModeInDiagnosticsExplorer.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/articles/RunningCohortDiagnostics.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 43 additions & 4 deletions docs/articles/ViewingResultsUsingDiagnosticsExplorer.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/WhatIsCohortDiagnostics.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 311e7c6

Please sign in to comment.