mirror of
https://github.com/msberends/AMR.git
synced 2026-11-17 06:20:54 +01:00
as.mo improvement
This commit is contained in:
1 parent
e65d1a3036
commit
0ec76cfa98
20 files changed
+379
-324
No files matched your search
+1
-1
@@ -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, ...)
|
||||
|
||||
Reference in new issue
Block a user