support for old rsi arguments

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-03-11 14:24:34 +01:00
1 parent 4416394e10
commit 262598b8d7
21 files changed
+327 -199

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ as.ab <- function(x, flag_multiple_results = TRUE, info = interactive(), ...) {
x_new[i] <- note_if_more_than_one_found(found, i, from_text)
next
}
# length of input is quite long, and Levenshtein distance is only max 2
if (nchar(x[i]) >= 10) {
levenshtein <- as.double(utils::adist(x[i], AMR_env$AB_lookup$generalised_name))