1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-26 03:55:46 +02:00

(v2.1.1.9140) WISCA fix

This commit is contained in:
2025-02-05 20:48:35 +01:00
parent d84033bbcb
commit baea4323c7
23 changed files with 408 additions and 202 deletions

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.2
Name: AMR
Version: 2.1.1.9139
Version: 2.1.1.9140
Summary: A Python wrapper for the AMR R package
Home-page: https://github.com/msberends/AMR
Author: Matthijs Berends

View File

@ -27,6 +27,7 @@ from .functions import age
from .functions import age_groups
from .functions import antibiogram
from .functions import wisca
from .functions import retrieve_wisca_parameters
from .functions import amr_class
from .functions import amr_selector
from .functions import aminoglycosides

View File

@ -111,6 +111,9 @@ def antibiogram(x, *args, **kwargs):
def wisca(x, *args, **kwargs):
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
return convert_to_python(amr_r.wisca(x, *args, **kwargs))
def retrieve_wisca_parameters(wisca_model, *args, **kwargs):
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
return convert_to_python(amr_r.retrieve_wisca_parameters(wisca_model, *args, **kwargs))
def amr_class(amr_class, *args, **kwargs):
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
return convert_to_python(amr_r.amr_class(amr_class, *args, **kwargs))

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='AMR',
version='2.1.1.9139',
version='2.1.1.9140',
packages=find_packages(),
install_requires=[
'rpy2',