mirror of
https://github.com/msberends/AMR.git
synced 2026-05-31 19:41:51 +02:00
Built site for AMR@3.0.1.9050: 8261b91
This commit is contained in:
@@ -87,7 +87,9 @@
|
||||
</ul></div>
|
||||
<div class="section level4">
|
||||
<h4 id="fixes-3-0-1-9050">Fixes<a class="anchor" aria-label="anchor" href="#fixes-3-0-1-9050"></a></h4>
|
||||
<ul><li>Fixed multiple bugs in the <code>parallel = TRUE</code> mode of <code><a href="../reference/as.sir.html">as.sir()</a></code> for data frames: (1) PSOCK workers (Windows / R < 4.0) now correctly load the AMR package before processing, with a graceful fallback to sequential mode when the package cannot be loaded; (2) resolved stale-environment issue where the PSOCK path read a frozen copy of <code>AMR_env</code> instead of the live one, causing the wrong log entries to be captured; (3) fixed log-entry duplication in the fork-based path (<code>mclapply</code>) where pre-existing <code>sir_interpretation_history</code> rows were included in every worker’s captured log; (4) removed use of non-exported internal functions (<code>%pm>%</code>, <code>pm_pull</code>, <code>as.sir.default</code>) from the worker closure, which made PSOCK workers fail; (5) suppressed per-column progress messages inside workers to prevent interleaved console output; (6) fixed a malformed Unicode escape <code>\u00a</code> (3 digits) in the “DONE” status message</li>
|
||||
<ul><li>
|
||||
<code><a href="../reference/as.sir.html">as.sir()</a></code> with <code>reference_data</code>: custom guideline names now correctly classify values as R using EUCAST convention (<code>> breakpoint_R</code> for MIC, <code>< breakpoint_R</code> for disk); custom breakpoints with <code>host = NA</code> now serve as a host-agnostic fallback when no host-specific row matches (fixes <a href="https://github.com/msberends/AMR/issues/239" class="external-link">#239</a>)</li>
|
||||
<li>Fixed multiple bugs in the <code>parallel = TRUE</code> mode of <code><a href="../reference/as.sir.html">as.sir()</a></code> for data frames: (1) PSOCK workers (Windows / R < 4.0) now correctly load the AMR package before processing, with a graceful fallback to sequential mode when the package cannot be loaded; (2) resolved stale-environment issue where the PSOCK path read a frozen copy of <code>AMR_env</code> instead of the live one, causing the wrong log entries to be captured; (3) fixed log-entry duplication in the fork-based path (<code>mclapply</code>) where pre-existing <code>sir_interpretation_history</code> rows were included in every worker’s captured log; (4) removed use of non-exported internal functions (<code>%pm>%</code>, <code>pm_pull</code>, <code>as.sir.default</code>) from the worker closure, which made PSOCK workers fail; (5) suppressed per-column progress messages inside workers to prevent interleaved console output; (6) fixed a malformed Unicode escape <code>\u00a</code> (3 digits) in the “DONE” status message</li>
|
||||
<li>Fixed a bug in <code><a href="../reference/as.sir.html">as.sir()</a></code> where values that were purely numeric (e.g., <code>"1"</code>) and matched the broad SIR-matching regex would be incorrectly stripped of all content by the Unicode letter filter</li>
|
||||
<li>Fixed a bug in <code><a href="../reference/as.mic.html">as.mic()</a></code> where MIC values in scientific notation (e.g., <code>"1e-3"</code>) were incorrectly handled because the letter <code>e</code> was removed along with other Unicode letters; scientific notation <code>e</code> is now preserved</li>
|
||||
<li>Fixed a bug in <code><a href="../reference/as.ab.html">as.ab()</a></code> where certain AB codes containing “PH” or “TH” (such as <code>ETH</code>, <code>MTH</code>, <code>PHE</code>, <code>PHN</code>, <code>STH</code>, <code>THA</code>, <code>THI1</code>) would incorrectly return <code>NA</code> when combined in a vector with any untranslatable value (<a href="https://github.com/msberends/AMR/issues/245" class="external-link">#245</a>)</li>
|
||||
|
||||
Reference in New Issue
Block a user