Skip to content

Commit

Permalink
Version 9.1.4
Browse files Browse the repository at this point in the history
Version 9.1.4
  • Loading branch information
msevestre authored Dec 3, 2020
2 parents c42a506 + 576aea6 commit 380690b
Show file tree
Hide file tree
Showing 57 changed files with 96 additions and 38 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Suggests:
pander
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
Collate:
Expand Down
1 change: 1 addition & 0 deletions R/simulation-results.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ SimulationResults <- R6::R6Class(
#' @param path Path for which values should be retrieved
#' @param individualIds One or more individual ids for which values should be returned
#' @param stopIfNotFound If \code{TRUE} (default) an error is thrown if no values could be found for the `path`/
#' If \code{FALSE}, a list of \code{NA} values is returned
getValuesByPath = function(path, individualIds, stopIfNotFound = TRUE) {
validateIsNumeric(individualIds)
individualIds <- c(individualIds)
Expand Down
4 changes: 2 additions & 2 deletions R/utilities-container.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ getAllContainerPathsIn <- function(container) {
#'
#' @inherit getAllContainersMatching
#' @param path A string representing the path relative to the \code{container}
#' @param stopIfNotFound Boolean. If TRUE and no container exist for the given path,
#' an error is thrown. Default is TRUE.
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no container exists for the given path,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.

#' @return The \code{Container} with the given path. If the container for the path
#' does not exist, an error is thrown if \code{stopIfNotFound} is TRUE (default),
Expand Down
4 changes: 2 additions & 2 deletions R/utilities-entity.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ getAllEntityPathsIn <- function(container, entityType, method = NULL) {
#'
#' @inherit getAllEntitiesMatching
#' @param path A string representing the path relative to the \code{container}
#' @param stopIfNotFound Boolean. If TRUE and no parameter exist for the given path,
#' an error is thrown. Default is TRUE.
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no entity exists for the given path,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.
#' @param entityType Class of the type that should be returned. Supported types are Container, Quantity, and Parameter
#'
#' @return The \code{Entity} with the given path coerced to the \code{entityType}.
Expand Down
4 changes: 2 additions & 2 deletions R/utilities-molecule.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ getAllMoleculePathsIn <- function(container) {
#'
#' @inherit getAllMoleculesMatching
#' @param path A string representing the path relative to the \code{container}
#' @param stopIfNotFound Boolean. If TRUE and no molecule exist for the given path,
#' an error is thrown. Default is TRUE.
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no molecule exist for the given path,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.
#'
#' @return The \code{Molecule} with the given path. If the molecule for the path
#' does not exist, an error is thrown if \code{stopIfNotFound} is TRUE (default),
Expand Down
4 changes: 2 additions & 2 deletions R/utilities-parameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ getAllParameterPathsIn <- function(container) {
#'
#' @inherit getAllParametersMatching
#' @param path A string representing the path relative to the \code{container}
#' @param stopIfNotFound Boolean. If TRUE and no parameter exist for the given path,
#' an error is thrown. Default is TRUE.
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no parameter exist for the given path,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.
#'
#' @return The \code{Parameter} with the given path. If the parameter for the path
#' does not exist, an error is thrown if \code{stopIfNotFound} is TRUE (default),
Expand Down
3 changes: 2 additions & 1 deletion R/utilities-pk-parameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ updatePKParameter <- function(name, displayName = NULL, displayUnit = NULL) {
#' @title Returns an instance of a PK-Parameter by name or NULL if the parameter by name is not found
#'
#' @param name Name of PK-Parameter to update
#' @param stopIfNotFound Indicates whether an exception is thrown when the PK-Parameter was not found. Default is \code{TRUE}
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no pk parameter exist for the given name,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.
#'
#' @examples
#'
Expand Down
4 changes: 2 additions & 2 deletions R/utilities-quantity.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ getAllQuantityPathsIn <- function(container) {
#'
#' @inherit getAllQuantitiesMatching
#' @param path A string representing the path relative to the \code{container}
#' @param stopIfNotFound Boolean. If TRUE and no quantity exist for the given path,
#' an error is thrown. Default is TRUE.
#' @param stopIfNotFound Boolean. If \code{TRUE} (default) and no quantity exists for the given path,
#' an error is thrown. If \code{FALSE}, \code{NULL} is returned.
#'
#' @return The \code{Quantity} with the given path. If the quantity for the path
#' does not exist, an error is thrown if \code{stopIfNotFound} is TRUE (default),
Expand Down
4 changes: 3 additions & 1 deletion R/utilities-simulation-results.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#' @param population population used to calculate the simulationResults (optional). This is used only to add the population covariates to the resulting data table.
#'
#' @param stopIfNotFound Boolean. If TRUE and no result exist for the given path, an error is thrown. Default is \code{TRUE}
#' @param stopIfNotFound If \code{TRUE} (default) an error is thrown if no results exist for any `path`
#' If \code{FALSE}, a list of \code{NA} values is returned for the repsecitve path.
#' @export
getOutputValues <- function(simulationResults,
quantitiesOrPaths = NULL,
Expand Down Expand Up @@ -77,7 +79,7 @@ getOutputValues <- function(simulationResults,


for (path in paths) {
quantity <- getQuantity(path, simulationResults$simulation)
quantity <- getQuantity(path, simulationResults$simulation, stopIfNotFound = stopIfNotFound)
metaData[[path]] <- list(unit = quantity$unit, dimension = quantity$dimension)
values[[path]] <- simulationResults$getValuesByPath(path, individualIds, stopIfNotFound)
}
Expand Down
Binary file modified inst/lib/OSPSuite.Assets.dll
Binary file not shown.
Binary file modified inst/lib/OSPSuite.Core.dll
Binary file not shown.
Binary file modified inst/lib/OSPSuite.Infrastructure.Autofac.dll
Binary file not shown.
Binary file modified inst/lib/OSPSuite.Infrastructure.Import.dll
Binary file not shown.
Binary file modified inst/lib/OSPSuite.Infrastructure.dll
Binary file not shown.
Binary file modified inst/lib/OSPSuite.R.dll
Binary file not shown.
1 change: 1 addition & 0 deletions man/ApiConfig.Rd

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

1 change: 1 addition & 0 deletions man/Application.Rd

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

1 change: 1 addition & 0 deletions man/Container.Rd

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

10 changes: 10 additions & 0 deletions man/DotNetWrapper.Rd

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

2 changes: 2 additions & 0 deletions man/Formula.Rd

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

1 change: 1 addition & 0 deletions man/IndividualCharacteristics.Rd

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

1 change: 1 addition & 0 deletions man/Interval.Rd

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

3 changes: 2 additions & 1 deletion man/Molecule.Rd

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

1 change: 1 addition & 0 deletions man/OutputSchema.Rd

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

1 change: 1 addition & 0 deletions man/OutputSelections.Rd

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

1 change: 1 addition & 0 deletions man/PKParameter.Rd

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

1 change: 1 addition & 0 deletions man/PKParameterSensitivity.Rd

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

3 changes: 2 additions & 1 deletion man/Parameter.Rd

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

1 change: 1 addition & 0 deletions man/ParameterRange.Rd

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

1 change: 1 addition & 0 deletions man/Population.Rd

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

1 change: 1 addition & 0 deletions man/PopulationCharacteristics.Rd

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

1 change: 1 addition & 0 deletions man/Quantity.Rd

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

1 change: 1 addition & 0 deletions man/QuantityPKParameter.Rd

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

1 change: 1 addition & 0 deletions man/QuantitySelection.Rd

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

1 change: 1 addition & 0 deletions man/SensitivityAnalysis.Rd

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

1 change: 1 addition & 0 deletions man/SensitivityAnalysisResults.Rd

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

1 change: 1 addition & 0 deletions man/SensitivityAnalysisRunOptions.Rd

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

1 change: 1 addition & 0 deletions man/Simulation.Rd

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

1 change: 1 addition & 0 deletions man/SimulationPKAnalyses.Rd

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

Loading

0 comments on commit 380690b

Please sign in to comment.