1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 03:22:00 +02:00

as.mo improvements

This commit is contained in:
2019-02-25 15:52:32 +01:00
parent 0ec76cfa98
commit c506d2893b
13 changed files with 390 additions and 376 deletions

View File

@ -494,7 +494,7 @@ mo_validate <- function(x, property, ...) {
# check onLoad() in R/zzz.R: data tables are created there.
}
if (!all(x %in% microorganismsDT[, ..property][[1]])
if (!all(x %in% microorganisms[, property])
| Becker %in% c(TRUE, "all")
| Lancefield %in% c(TRUE, "all")) {
exec_as.mo(x, property = property, ...)