AMR 2.1.1.9267__py3-none-any.whl → 2.1.1.9269__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 +7 -12
- {amr-2.1.1.9267.dist-info → amr-2.1.1.9269.dist-info}/METADATA +1 -1
- amr-2.1.1.9269.dist-info/RECORD +7 -0
- amr-2.1.1.9267.dist-info/RECORD +0 -7
- {amr-2.1.1.9267.dist-info → amr-2.1.1.9269.dist-info}/WHEEL +0 -0
- {amr-2.1.1.9267.dist-info → amr-2.1.1.9269.dist-info}/top_level.txt +0 -0
AMR/datasets.py
CHANGED
@@ -39,18 +39,13 @@ except metadata.PackageNotFoundError:
|
|
39
39
|
r_amr_version = robjects.r(f'as.character(packageVersion("AMR", lib.loc = "{r_lib_path}"))')
|
40
40
|
r_amr_version = str(r_amr_version[0])
|
41
41
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
print(
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
# try:
|
50
|
-
# print(f"AMR: Updating AMR package in {r_lib_path}...", flush=True)
|
51
|
-
# utils.install_packages('AMR', repos='beta.amr-for-r.org', quiet=True)
|
52
|
-
# except Exception as e:
|
53
|
-
# print(f"AMR: Could not update: {e}", flush=True)
|
42
|
+
# Compare R and Python package versions
|
43
|
+
if r_amr_version != python_amr_version:
|
44
|
+
try:
|
45
|
+
print(f"AMR: Updating AMR package in {r_lib_path}...", flush=True)
|
46
|
+
utils.install_packages('AMR', repos='beta.amr-for-r.org', quiet=True)
|
47
|
+
except Exception as e:
|
48
|
+
print(f"AMR: Could not update: {e}", flush=True)
|
54
49
|
|
55
50
|
print(f"AMR: Setting up R environment and AMR datasets...", flush=True)
|
56
51
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
AMR/__init__.py,sha256=GjKrdgSCAbSFuemlXWWgmKxiYuN58XGj61iOvnyTLQw,7766
|
2
|
+
AMR/datasets.py,sha256=zNOGHIBZvcAx2Z2QF9gIccSkQkWW0CX9pEVBOVR-7gs,2430
|
3
|
+
AMR/functions.py,sha256=5cv8qlMcJUApISR6SQ218EpMpnXJ41d4CqQqKoL_Iko,45096
|
4
|
+
amr-2.1.1.9269.dist-info/METADATA,sha256=JwRfImS-EqYMp_nM-pYtVR3KUnkksB5bMQE_5ShOfYw,10095
|
5
|
+
amr-2.1.1.9269.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
6
|
+
amr-2.1.1.9269.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
+
amr-2.1.1.9269.dist-info/RECORD,,
|
amr-2.1.1.9267.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
AMR/__init__.py,sha256=GjKrdgSCAbSFuemlXWWgmKxiYuN58XGj61iOvnyTLQw,7766
|
2
|
-
AMR/datasets.py,sha256=aLyHJwZNCaiq95g9lDzUbVEJeEEyaHiaKUkPBnqSLrU,2572
|
3
|
-
AMR/functions.py,sha256=5cv8qlMcJUApISR6SQ218EpMpnXJ41d4CqQqKoL_Iko,45096
|
4
|
-
amr-2.1.1.9267.dist-info/METADATA,sha256=JVtfcKEhbjRfXR7wzNMiUPVWUabic2Cs8ZLEUqyPysk,10095
|
5
|
-
amr-2.1.1.9267.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
6
|
-
amr-2.1.1.9267.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
|
7
|
-
amr-2.1.1.9267.dist-info/RECORD,,
|
File without changes
|
File without changes
|