AMR 2.1.1.9131__py3-none-any.whl → 2.1.1.9135__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
@@ -18,8 +18,9 @@ os.makedirs(r_lib_path, exist_ok=True)
18
18
  base = importr('base')
19
19
  utils = importr('utils')
20
20
 
21
+ base.options(warn = -1)
22
+
21
23
  # Override R library paths globally for the session
22
- robjects.r(f'.Library <- "{r_lib_path}"') # Replace default library
23
24
  robjects.r(f'.Library.site <- "{r_lib_path}"') # Replace site-specific library
24
25
  base._libPaths(r_lib_path) # Override .libPaths() as well
25
26
 
@@ -73,4 +74,6 @@ microorganisms = pandas2ri.rpy2py(robjects.r('AMR::microorganisms[, !sapply(AMR:
73
74
  antibiotics = pandas2ri.rpy2py(robjects.r('AMR::antibiotics[, !sapply(AMR::antibiotics, is.list)]'))
74
75
  clinical_breakpoints = pandas2ri.rpy2py(robjects.r('AMR::clinical_breakpoints[, !sapply(AMR::clinical_breakpoints, is.list)]'))
75
76
 
77
+ base.options(warn = 0)
78
+
76
79
  print(f"AMR: Done.", flush=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: AMR
3
- Version: 2.1.1.9131
3
+ Version: 2.1.1.9135
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
@@ -0,0 +1,7 @@
1
+ AMR/__init__.py,sha256=-3zoWVuhybnYkXePzljDrtcxxaAQscPpCPP75EiqLfQ,7540
2
+ AMR/datasets.py,sha256=Jy39LLD1mP-MMPX59mjKQdmKeFz192kMQD3ty4tIFic,2609
3
+ AMR/functions.py,sha256=JSh-0_mfrAj7ajpazlv2KFyEtRAglj7oQV9Iiaux7eo,45557
4
+ AMR-2.1.1.9135.dist-info/METADATA,sha256=Pp2qa7Y5PuyyxGmr0W0DSNIMrzxNH7eumeuKnIGWXk4,9624
5
+ AMR-2.1.1.9135.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
+ AMR-2.1.1.9135.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
+ AMR-2.1.1.9135.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- AMR/__init__.py,sha256=-3zoWVuhybnYkXePzljDrtcxxaAQscPpCPP75EiqLfQ,7540
2
- AMR/datasets.py,sha256=t3ilqlqKu0rr4iHjG79fyWAXbdUw-WhCYyyeyZWxqoo,2629
3
- AMR/functions.py,sha256=JSh-0_mfrAj7ajpazlv2KFyEtRAglj7oQV9Iiaux7eo,45557
4
- AMR-2.1.1.9131.dist-info/METADATA,sha256=DiSb3VbJq3AYOELVYt8VEPdal0gyzkQZVKu-BTfvoDE,9624
5
- AMR-2.1.1.9131.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- AMR-2.1.1.9131.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
- AMR-2.1.1.9131.dist-info/RECORD,,