AMR 2.1.1.9215__py3-none-any.whl → 2.1.1.9216__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/datasets.py CHANGED
@@ -39,7 +39,10 @@ except metadata.PackageNotFoundError:
39
39
  python_amr_version = ''
40
40
 
41
41
  # R package version of AMR
42
- r_amr_version = robjects.r(f'as.character(packageVersion("AMR", lib.loc = "{r_lib_path}"))')[0]
42
+ r_amr_version = robjects.r(f'as.character(packageVersion("AMR", lib.loc = "{r_amr_lib_path}"))')
43
+
44
+ print(python_amr_version)
45
+ print(r_amr_version)
43
46
 
44
47
  # Compare R and Python package versions
45
48
  if r_amr_version != python_amr_version:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: AMR
3
- Version: 2.1.1.9215
3
+ Version: 2.1.1.9216
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
@@ -31,7 +31,20 @@ The `AMR` package for R is a powerful tool for antimicrobial resistance (AMR) an
31
31
 
32
32
  This Python package is a wrapper round the `AMR` R package. It uses the `rpy2` package internally. Despite the need to have R installed, Python users can now easily work with AMR data directly through Python code.
33
33
 
34
- # Install
34
+ # Prerequisites
35
+
36
+ This package was only tested with [`venv`](https://docs.python.org/3/library/venv.html). You can set up such a virtual environment by running:
37
+
38
+ ```python
39
+ # for linux and macOS:
40
+ python -m venv /path/to/new/virtual/environment
41
+ # for Windows:
42
+ python -m venv C:\path\to\new\virtual\environment
43
+ ```
44
+
45
+ Then you can [activate the environment](https://docs.python.org/3/library/venv.html#how-venvs-work), after the which the virtual environment is ready to work with.
46
+
47
+ # Install AMR
35
48
 
36
49
  1. Since the Python package is available on the official [Python Package Index](https://pypi.org/project/AMR/), you can just run:
37
50
 
@@ -0,0 +1,7 @@
1
+ AMR/__init__.py,sha256=CqpcLv7M6mte09zdHYPzBuHJQeFAqJ4s2uN_rExYfoM,7730
2
+ AMR/datasets.py,sha256=Fc9Ogxehhthw2T7qVc758zWdYkkztDYyWH4RRMwekcI,2667
3
+ AMR/functions.py,sha256=91Tl9Jh6sbu-1xUvlst9VyQB5HJOe6ZCNhjtPpnLuik,46722
4
+ amr-2.1.1.9216.dist-info/METADATA,sha256=oAoco8yPQ_mGTSk0d5iyaQYT5056EG76Q7lc9ngjORI,10111
5
+ amr-2.1.1.9216.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
6
+ amr-2.1.1.9216.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
+ amr-2.1.1.9216.dist-info/RECORD,,
@@ -1,7 +0,0 @@
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.9215.dist-info/METADATA,sha256=3bhg93ipTx_0X1RsrA-jb9VfCoB1lZ7tAxEqQeay46E,9630
5
- amr-2.1.1.9215.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
6
- amr-2.1.1.9215.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
- amr-2.1.1.9215.dist-info/RECORD,,