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

(v0.9.0.9023) EUCAST 2020 guidelines

This commit is contained in:
2020-02-14 19:54:13 +01:00
parent 5a98e6b777
commit 9b8b02960e
43 changed files with 16588 additions and 14564 deletions

View File

@ -202,6 +202,9 @@ get_mo_source <- function() {
}
mo_source_isvalid <- function(x) {
check_dataset_integrity()
if (deparse(substitute(x)) == "get_mo_source()") {
return(TRUE)
}
@ -217,5 +220,5 @@ mo_source_isvalid <- function(x) {
if (!"mo" %in% colnames(x)) {
return(FALSE)
}
all(x$mo %in% c("", AMR::microorganisms$mo, microorganisms.translation$mo_old), na.rm = TRUE)
all(x$mo %in% c("", microorganisms$mo, microorganisms.translation$mo_old), na.rm = TRUE)
}