Skip to content

Commit

Permalink
Merge pull request #365 from Tynes-Science/gh255-sim-blq-variable-nam…
Browse files Browse the repository at this point in the history
…ing-fix

Remove path prefix from sim-blq variable name
  • Loading branch information
mattfidler committed May 31, 2023
2 parents a9ba7d1 + f2a2648 commit ee9a72d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/pmx-reader.R
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ read_mlx18_res <- function(path, x, ...) {
xnames <- names(x[["names"]])
yname <- substring(file_path, regexpr("s/", file_path) + 2)
yname <- sub("_obsVsPred.txt", "", yname)
yname <- basename(yname)
names(x[["names"]])[which(xnames == "y_simBlq_mode")] <- paste0(yname,"_simBlq_mode")

#handling of mlx18 input, there is no y_simBlq_mean or y_simBlq_mode for Monolix version 2018
Expand Down

0 comments on commit ee9a72d

Please sign in to comment.