as.mo improvement

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-02-25 10:42:57 +01:00
1 parent e65d1a3036
commit 0ec76cfa98
20 files changed
+379 -324

No files matched your search

+1 -1
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, ...)