mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 01:30:54 +01:00
Show translated pathogen names instead of microorganism codes in grouped traditional antibiograms, including for unknown species
This commit is contained in:
1 parent
3db586a110
commit
b3ecc01657
8 files changed
+22
-17
No files matched your search
@@ -53,7 +53,8 @@ test_that("test-antibiogram.R", {
|
||||
warning = function(w) conditionMessage(w)
|
||||
)
|
||||
expect_inherits(ab_grouped, "antibiogram")
|
||||
expect_true("UNKNOWN" %in% as.character(ab_grouped[[2]]))
|
||||
expect_true(mo_shortname("UNKNOWN", language = NULL) %in% ab_grouped[[2]])
|
||||
expect_false(any(as.character(ab_grouped[[2]]) %in% c("UNKNOWN", "B_ESCHR_COLI")))
|
||||
}
|
||||
|
||||
# Traditional antibiogram ----------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user