mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
Adds add_custom_antimicrobial_synonyms() to add local names, such as trade names, to existing antimicrobials, also via the AMR_custom_ab option. Matching is language-independent; as.ab() now returns NA with a warning for input that is not valid UTF-8.
This commit is contained in:
1 parent
9e05fe184b
commit
3eeabf542a
9 files changed
+623
-17
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# AMR 3.0.1.9106
|
||||
# AMR 3.0.1.9107
|
||||
|
||||
Planned as v3.1.0, mid October 2026.
|
||||
|
||||
@@ -43,6 +43,7 @@ Planned as v3.1.0, mid October 2026.
|
||||
* Typed missing value constants `NA_ab_` and `NA_mo_`, for use in pipelines that need missing values of a specific class
|
||||
* New `wisca_plot()` to assess the susceptibility and incidence distributions from the Monte Carlo simulations
|
||||
* A registry of all microbial IDs (MO codes) since v2.0.0 now prevents existing IDs from being reused or mixed up; IDs of earlier releases are translated to the current ID of the same taxon
|
||||
* `add_custom_antimicrobial_synonyms()` to add local names, such as trade names, to existing antimicrobials (#307)
|
||||
|
||||
### Fixed
|
||||
* `as.mo()` returned *Salmonella bongori* or another subspecies for *Salmonella* serovars written with the species, such as "Salmonella enterica serovar Typhi"
|
||||
@@ -57,6 +58,7 @@ Planned as v3.1.0, mid October 2026.
|
||||
* `as.mic()`: values in scientific notation (e.g. `1e-3`) now handled correctly
|
||||
* `as.ab()`: codes containing "PH" or "TH" (e.g. `ETH`, `PHE`) no longer return `NA` when mixed with unrecognised input (#245)
|
||||
* `as.ab()`: results of `fast_mode` (used internally) were remembered and reused by later regular calls, which could return `NA` for valid input (#313)
|
||||
* `as.ab()`: input that is not valid UTF-8 (e.g. text exported in a local encoding such as CP949) now returns `NA` with a warning instead of an error
|
||||
* `as.mo()`: previously coerced input was often not recognised again, e.g. for an unknown species of a known genus, so it was matched again on every call (#313)
|
||||
* `ab_reset_session()` no longer clears the uncertainties of `as.mo()` (#313)
|
||||
* Combined MIC/SIR input values (e.g. `"<= 0.002; S"` or `"S; 0.002"`) now parsed correctly (#252)
|
||||
|
||||
Reference in new issue
Block a user