Matthijs Berends
6a7e8ce036
fix: convert Python lists to R vectors in wrapper to prevent R list coercion errors
...
Fixes #267 . Python lists passed to R functions via rpy2 are received as
R lists, not R character/numeric vectors. This causes is.mic(), is.sir(),
is.disk() etc. to return length > 1 logicals, which break R's && operator.
Added convert_to_r() helper that maps Python list/tuple to the appropriate
typed R vector (StrVector, IntVector, FloatVector) based on element types.
The r_to_python decorator now applies this to all args and kwargs before
calling the R function.
2026-03-29 14:34:58 +02:00
Nick Thomson
68442f3042
(v3.0.0.9012) Python wrapper fix
2025-07-17 19:43:07 +02:00
b8f0f64287
(v2.1.1.9269) Support 7 new languages
2025-05-02 19:25:19 +02:00
5e6bbdf3d1
(v2.1.1.9267) update ATCs
2025-05-01 11:48:49 +02:00
40d7a971c3
(v2.1.1.9236) documentation
2025-04-12 11:46:42 +02:00
36fd99e1f4
(v2.1.1.9235) New website!
2025-04-08 15:54:30 +01:00
bb110646db
(v2.1.1.9223) allow + ab
2025-03-20 22:56:32 +01:00
d147d6602d
(v2.1.1.9222) python bump
2025-03-20 22:02:44 +01:00
43660f2b18
(v2.1.1.9221) allow combined numeric MIC values
2025-03-20 21:47:45 +01:00
8d8444c607
(v2.1.1.9216) PyPI access token
2025-03-17 08:56:27 +01:00
f7938289eb
(v2.1.1.9186) replace antibiotics with antimicrobials!
2025-03-07 20:43:26 +01:00
2561494e06
(v2.1.1.9133) update math formulae
2025-01-27 22:43:35 +01:00
9520977a10
(v2.1.1.9133) (v2.1.1.9132) unit test, final fixes
2025-01-27 22:09:16 +01:00
1149360b27
(v2.1.1.9129) unit test fix
2025-01-27 16:17:03 +01:00
7accf6ff13
(v2.1.1.9127) unit tests
2025-01-27 10:46:43 +01:00
66833b4f5a
(v2.1.1.9126) implemented WISCA! Also added top_n_microorganisms() and fixed Python wrapper
2025-01-26 23:01:17 +01:00
d7de1bc33d
(v2.1.1.9118) move ggplot2 plotting functions to general 'plotting' man page
2024-12-14 19:41:15 +01:00
059618e710
(v2.1.1.9110) update Py pkg
2024-11-21 22:23:40 +01:00
38bb36ca19
(v2.1.1.9108) version update
2024-11-21 21:58:05 +01:00
0fda130a0b
(v2.1.1.9107) new pkg knowledge for AMR
2024-11-21 12:02:58 +01:00
87271d261a
add Python package to repo
2024-11-21 10:06:26 +01:00
a9e753b1dc
(v2.1.1.9098) update Py vigettes
2024-10-17 11:52:01 +02:00
448b6abb06
fix Python PI publish
2024-10-15 17:27:00 +02:00
5c4d8fcd2a
(v2.1.1.9095) Python support
2024-10-15 17:12:55 +02:00