AMR 2.1.1.9183__py3-none-any.whl → 2.1.1.9186__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- AMR/__init__.py +1 -2
- AMR/datasets.py +1 -1
- AMR/functions.py +0 -3
- {amr-2.1.1.9183.dist-info → amr-2.1.1.9186.dist-info}/METADATA +3 -3
- amr-2.1.1.9186.dist-info/RECORD +7 -0
- amr-2.1.1.9183.dist-info/RECORD +0 -7
- {amr-2.1.1.9183.dist-info → amr-2.1.1.9186.dist-info}/WHEEL +0 -0
- {amr-2.1.1.9183.dist-info → amr-2.1.1.9186.dist-info}/top_level.txt +0 -0
AMR/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
from .datasets import example_isolates
|
2
2
|
from .datasets import microorganisms
|
3
|
-
from .datasets import
|
3
|
+
from .datasets import antimicrobials
|
4
4
|
from .datasets import clinical_breakpoints
|
5
5
|
from .functions import ab_class
|
6
6
|
from .functions import ab_selector
|
@@ -138,7 +138,6 @@ from .functions import semi_join_microorganisms
|
|
138
138
|
from .functions import anti_join_microorganisms
|
139
139
|
from .functions import key_antimicrobials
|
140
140
|
from .functions import all_antimicrobials
|
141
|
-
from .functions import antimicrobials_equal
|
142
141
|
from .functions import kurtosis
|
143
142
|
from .functions import like
|
144
143
|
from .functions import mdro
|
AMR/datasets.py
CHANGED
@@ -71,7 +71,7 @@ example_isolates['date'] = pd.to_datetime(example_isolates['date'])
|
|
71
71
|
|
72
72
|
# microorganisms
|
73
73
|
microorganisms = pandas2ri.rpy2py(robjects.r('AMR::microorganisms[, !sapply(AMR::microorganisms, is.list)]'))
|
74
|
-
|
74
|
+
antimicrobials = pandas2ri.rpy2py(robjects.r('AMR::antimicrobials[, !sapply(AMR::antimicrobials, is.list)]'))
|
75
75
|
clinical_breakpoints = pandas2ri.rpy2py(robjects.r('AMR::clinical_breakpoints[, !sapply(AMR::clinical_breakpoints, is.list)]'))
|
76
76
|
|
77
77
|
base.options(warn = 0)
|
AMR/functions.py
CHANGED
@@ -444,9 +444,6 @@ def key_antimicrobials(x = None, *args, **kwargs):
|
|
444
444
|
def all_antimicrobials(x = None, *args, **kwargs):
|
445
445
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
446
446
|
return convert_to_python(amr_r.all_antimicrobials(x = None, *args, **kwargs))
|
447
|
-
def antimicrobials_equal(y, *args, **kwargs):
|
448
|
-
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
449
|
-
return convert_to_python(amr_r.antimicrobials_equal(y, *args, **kwargs))
|
450
447
|
def kurtosis(x, *args, **kwargs):
|
451
448
|
"""See our website of the R package for the manual: https://msberends.github.io/AMR/index.html"""
|
452
449
|
return convert_to_python(amr_r.kurtosis(x, *args, **kwargs))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: AMR
|
3
|
-
Version: 2.1.1.
|
3
|
+
Version: 2.1.1.9186
|
4
4
|
Summary: A Python wrapper for the AMR R package
|
5
5
|
Home-page: https://github.com/msberends/AMR
|
6
6
|
Author: Matthijs Berends
|
@@ -150,7 +150,7 @@ In this example, we generate an antibiogram by selecting various antibiotics.
|
|
150
150
|
|
151
151
|
## Taxonomic Data Sets Now in Python!
|
152
152
|
|
153
|
-
As a Python user, you might like that the most important data sets of the `AMR` R package, `microorganisms`, `
|
153
|
+
As a Python user, you might like that the most important data sets of the `AMR` R package, `microorganisms`, `antimicrobials`, `clinical_breakpoints`, and `example_isolates`, are now available as regular Python data frames:
|
154
154
|
|
155
155
|
```python
|
156
156
|
AMR.microorganisms
|
@@ -171,7 +171,7 @@ AMR.microorganisms
|
|
171
171
|
| F_ZYZYG | Zyzygomyces | unknown | Fungi | None | 7581 | None | 2.0 |
|
172
172
|
|
173
173
|
```python
|
174
|
-
AMR.
|
174
|
+
AMR.antimicrobials
|
175
175
|
```
|
176
176
|
|
177
177
|
| ab | cid | name | group | oral_ddd | oral_units | iv_ddd | iv_units |
|
@@ -0,0 +1,7 @@
|
|
1
|
+
AMR/__init__.py,sha256=CqpcLv7M6mte09zdHYPzBuHJQeFAqJ4s2uN_rExYfoM,7730
|
2
|
+
AMR/datasets.py,sha256=KCofsafX_KV40DRUsKXefedJ1hErDnoGhFRXZcW-tSY,2618
|
3
|
+
AMR/functions.py,sha256=91Tl9Jh6sbu-1xUvlst9VyQB5HJOe6ZCNhjtPpnLuik,46722
|
4
|
+
amr-2.1.1.9186.dist-info/METADATA,sha256=oio87Mow-fztmHZJQcjb8YNiYoitTx-LDTUu3ih4NWA,9630
|
5
|
+
amr-2.1.1.9186.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
6
|
+
amr-2.1.1.9186.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
+
amr-2.1.1.9186.dist-info/RECORD,,
|
amr-2.1.1.9183.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
AMR/__init__.py,sha256=iZ0zF1KVCv4sxsZA6ghTiFMdAG3z03BcVosE9ROEDhg,7771
|
2
|
-
AMR/datasets.py,sha256=Jy39LLD1mP-MMPX59mjKQdmKeFz192kMQD3ty4tIFic,2609
|
3
|
-
AMR/functions.py,sha256=qFFkuQJhg6vfb2X-UYTgUWvAA3wnOzKvsdREM1V-_U8,46947
|
4
|
-
amr-2.1.1.9183.dist-info/METADATA,sha256=7xHbzPFdL8Uwg1MmNoR4cw7ut891XXv-DY2lpZGxcsM,9624
|
5
|
-
amr-2.1.1.9183.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
6
|
-
amr-2.1.1.9183.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
-
amr-2.1.1.9183.dist-info/RECORD,,
|
File without changes
|
File without changes
|