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

fix for empty values in mo_property

This commit is contained in:
2018-09-05 12:21:27 +02:00
parent e39a9a8b05
commit de36b0be23
4 changed files with 39 additions and 28 deletions

2
R/mo.R
View File

@ -146,7 +146,7 @@ as.mo <- function(x, Becker = FALSE, Lancefield = FALSE) {
if (identical(x_trimmed[i], "")) {
# empty values
x[i] <- NA
failures <- c(failures, x_backup[i])
#failures <- c(failures, x_backup[i])
next
}
if (x_backup[i] %in% AMR::microorganisms$mo) {