1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 07:51:57 +02:00

as.mo improvement

This commit is contained in:
2019-02-25 10:42:57 +01:00
parent e65d1a3036
commit 0ec76cfa98
20 changed files with 379 additions and 324 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]])
if (!all(x %in% microorganismsDT[, ..property][[1]])
| Becker %in% c(TRUE, "all")
| Lancefield %in% c(TRUE, "all")) {
exec_as.mo(x, property = property, ...)