bioversions 0.8.0__py3-none-any.whl → 0.8.2__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.
- bioversions/resources/update.py +2 -0
- bioversions/resources/versions.json +55 -3
- bioversions/sources/rfam.py +11 -4
- bioversions/version.py +1 -1
- {bioversions-0.8.0.dist-info → bioversions-0.8.2.dist-info}/METADATA +1 -1
- {bioversions-0.8.0.dist-info → bioversions-0.8.2.dist-info}/RECORD +9 -9
- {bioversions-0.8.0.dist-info → bioversions-0.8.2.dist-info}/WHEEL +0 -0
- {bioversions-0.8.0.dist-info → bioversions-0.8.2.dist-info}/entry_points.txt +0 -0
- {bioversions-0.8.0.dist-info → bioversions-0.8.2.dist-info}/licenses/LICENSE +0 -0
bioversions/resources/update.py
CHANGED
@@ -107,6 +107,8 @@ def _update(force: bool): # noqa:C901
|
|
107
107
|
text += f"## {t.name}\n\nUsing class: `{t.clstype}`\n\n"
|
108
108
|
text += f"```python-traceback\n{t.trace}\n```\n\n"
|
109
109
|
FAILURES_PATH.write_text(text.rstrip() + "\n")
|
110
|
+
else:
|
111
|
+
FAILURES_PATH.write_text("# No Errors :)\n")
|
110
112
|
|
111
113
|
|
112
114
|
def _log_update(bv) -> None:
|
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"annotations": {
|
3
|
-
"revision":
|
4
|
-
"date": "2025-05-
|
5
|
-
"author": "
|
3
|
+
"revision": 992,
|
4
|
+
"date": "2025-05-07",
|
5
|
+
"author": "cthoyt"
|
6
6
|
},
|
7
7
|
"database": [
|
8
8
|
{
|
@@ -528,6 +528,16 @@
|
|
528
528
|
"retrieved": "2025-05-06",
|
529
529
|
"version": "2025-05-05",
|
530
530
|
"homepage": "https://antibodyregistry.org/"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"retrieved": "2025-05-07",
|
534
|
+
"version": "2025-05-06",
|
535
|
+
"homepage": "https://antibodyregistry.org/"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"retrieved": "2025-05-07",
|
539
|
+
"version": "2025-05-07",
|
540
|
+
"homepage": "https://antibodyregistry.org/"
|
531
541
|
}
|
532
542
|
],
|
533
543
|
"name": "Antibody Registry",
|
@@ -4136,6 +4146,12 @@
|
|
4136
4146
|
"version": "113",
|
4137
4147
|
"homepage": "https://www.ensembl.org",
|
4138
4148
|
"date": "2024-10-01"
|
4149
|
+
},
|
4150
|
+
{
|
4151
|
+
"retrieved": "2025-05-07",
|
4152
|
+
"version": "114",
|
4153
|
+
"homepage": "https://www.ensembl.org",
|
4154
|
+
"date": "2025-05-01"
|
4139
4155
|
}
|
4140
4156
|
],
|
4141
4157
|
"name": "Ensembl",
|
@@ -5345,6 +5361,11 @@
|
|
5345
5361
|
"retrieved": "2025-02-25",
|
5346
5362
|
"version": "2025_01",
|
5347
5363
|
"homepage": "http://ftp.flybase.net/releases/FB2025_01/"
|
5364
|
+
},
|
5365
|
+
{
|
5366
|
+
"retrieved": "2025-05-07",
|
5367
|
+
"version": "2025_02",
|
5368
|
+
"homepage": "https://s3ftp.flybase.org/releases/FB2025_02/"
|
5348
5369
|
}
|
5349
5370
|
],
|
5350
5371
|
"name": "FlyBase",
|
@@ -5852,6 +5873,12 @@
|
|
5852
5873
|
"version": "220",
|
5853
5874
|
"homepage": "https://gtdb.ecogenomic.org/",
|
5854
5875
|
"date": "2024-04-24"
|
5876
|
+
},
|
5877
|
+
{
|
5878
|
+
"retrieved": "2025-05-07",
|
5879
|
+
"version": "226",
|
5880
|
+
"homepage": "https://gtdb.ecogenomic.org/",
|
5881
|
+
"date": "2025-04-16"
|
5855
5882
|
}
|
5856
5883
|
],
|
5857
5884
|
"name": "Genome Taxonomy Database",
|
@@ -6296,6 +6323,11 @@
|
|
6296
6323
|
"retrieved": "2025-04-03",
|
6297
6324
|
"version": "2025-04-01",
|
6298
6325
|
"homepage": "https://storage.googleapis.com/public-download-files/hgnc/archive/archive/monthly/json/hgnc_complete_set_2025-04-01.json"
|
6326
|
+
},
|
6327
|
+
{
|
6328
|
+
"retrieved": "2025-05-07",
|
6329
|
+
"version": "2025-05-06",
|
6330
|
+
"homepage": "https://storage.googleapis.com/public-download-files/hgnc/archive/archive/monthly/json/hgnc_complete_set_2025-05-06.json"
|
6299
6331
|
}
|
6300
6332
|
],
|
6301
6333
|
"name": "HGNC",
|
@@ -10547,6 +10579,14 @@
|
|
10547
10579
|
{
|
10548
10580
|
"retrieved": "2025-05-04",
|
10549
10581
|
"version": "2025-05-02"
|
10582
|
+
},
|
10583
|
+
{
|
10584
|
+
"retrieved": "2025-05-07",
|
10585
|
+
"version": "2025-05-05"
|
10586
|
+
},
|
10587
|
+
{
|
10588
|
+
"retrieved": "2025-05-07",
|
10589
|
+
"version": "2025-05-06"
|
10550
10590
|
}
|
10551
10591
|
],
|
10552
10592
|
"name": "Online Mendelian Inheritance in Man",
|
@@ -17096,6 +17136,10 @@
|
|
17096
17136
|
{
|
17097
17137
|
"retrieved": "2025-05-06",
|
17098
17138
|
"version": "2025-05-06"
|
17139
|
+
},
|
17140
|
+
{
|
17141
|
+
"retrieved": "2025-05-07",
|
17142
|
+
"version": "2025-05-07"
|
17099
17143
|
}
|
17100
17144
|
],
|
17101
17145
|
"name": "SwissLipids",
|
@@ -22644,6 +22688,14 @@
|
|
22644
22688
|
{
|
22645
22689
|
"retrieved": "2025-05-06",
|
22646
22690
|
"version": "2025-05-04"
|
22691
|
+
},
|
22692
|
+
{
|
22693
|
+
"retrieved": "2025-05-07",
|
22694
|
+
"version": "2025-05-05"
|
22695
|
+
},
|
22696
|
+
{
|
22697
|
+
"retrieved": "2025-05-07",
|
22698
|
+
"version": "2025-05-06"
|
22647
22699
|
}
|
22648
22700
|
],
|
22649
22701
|
"name": "Zebrafish Information Network",
|
bioversions/sources/rfam.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
"""A getter for Rfam."""
|
2
2
|
|
3
|
-
|
3
|
+
import requests
|
4
|
+
|
5
|
+
from bioversions.utils import Getter, VersionType
|
4
6
|
|
5
7
|
__all__ = [
|
6
8
|
"RfamGetter",
|
@@ -12,12 +14,17 @@ class RfamGetter(Getter):
|
|
12
14
|
|
13
15
|
bioregistry_id = "rfam"
|
14
16
|
name = "Rfam"
|
15
|
-
homepage_fmt = "
|
17
|
+
homepage_fmt = "https://ftp.ebi.ac.uk/pub/databases/Rfam/{version}/"
|
16
18
|
version_type = VersionType.semver_minor
|
17
19
|
|
18
|
-
def get(self):
|
20
|
+
def get(self) -> str:
|
19
21
|
"""Get the latest Rfam version number."""
|
20
|
-
|
22
|
+
res = requests.get("https://ftp.ebi.ac.uk/pub/databases/Rfam/CURRENT/README", timeout=15)
|
23
|
+
for line in res.iter_lines():
|
24
|
+
line = line.decode("utf8").strip()
|
25
|
+
if line.startswith("Release "):
|
26
|
+
return line[len("Release ") :]
|
27
|
+
raise ValueError
|
21
28
|
|
22
29
|
|
23
30
|
if __name__ == "__main__":
|
bioversions/version.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
bioversions/.DS_Store,sha256=ae189687e1d36349b4c5c5dd6a5ecd9a79635474d4ba76e63cb2ae00487c00a9,6148
|
2
|
-
bioversions/version.py,sha256=
|
2
|
+
bioversions/version.py,sha256=2b1b42c67011aa866e54e447db5177beb365d310067d85b407f772c80df85fbe,605
|
3
3
|
bioversions/charts.py,sha256=be29a2fde227a4bd02611112f1cbe58a00e261e435fc8f00e82104a15dadbdfe,2457
|
4
|
-
bioversions/resources/update.py,sha256=
|
5
|
-
bioversions/resources/versions.json,sha256=
|
4
|
+
bioversions/resources/update.py,sha256=847565839bacfe2d0fea36202e428cb98e33476b6f13398f950f10386583c473,3593
|
5
|
+
bioversions/resources/versions.json,sha256=8c2fed52ff39a94541f34e510d7d64f8a7a6355fe3a00f40d1c7ac52b1f0ffdf,556303
|
6
6
|
bioversions/resources/__init__.py,sha256=371c3ac3afe0442e01fc9c2f6c000aa4d476ac8a6435167952404831d36a95d6,1659
|
7
7
|
bioversions/__init__.py,sha256=0fc58200e829534318812aa56075dc5a716d8b9343f60f1580c27cc3e91eea62,354
|
8
8
|
bioversions/slack_client.py,sha256=bda7d71401bc03f7dc19fec98d7d5abad5083285cb5c97b5b575b1f9459a1285,1293
|
@@ -56,7 +56,7 @@ bioversions/sources/pr.py,sha256=6c440e95057d35b7d0273d9c26bc2e0dec45cfe22f541e4
|
|
56
56
|
bioversions/sources/unversioned.py,sha256=c2f328c3bca5b9bbd0ede38ce93bd5a8d1cd079757902865f6c83c3ed05794f4,53
|
57
57
|
bioversions/sources/bigg.py,sha256=895af1caf2a2108517b3a14cd8088b0d86bec980cd18c38d9a222ffd1e8a060e,661
|
58
58
|
bioversions/sources/obo.py,sha256=727b7470ba4cf30b421b5e1eebe758bbadeac57e9801df4fceb13948a27ff0b7,1713
|
59
|
-
bioversions/sources/rfam.py,sha256=
|
59
|
+
bioversions/sources/rfam.py,sha256=c6c0695b8975324ce12a11351c36258b241644d611cb23ee4d70e7c2cc2aa082,775
|
60
60
|
bioversions/sources/chembl.py,sha256=35cfa0149a5eac1c8efe2577b43aa47e359874558ef48ce227022d7bd0b60932,1513
|
61
61
|
bioversions/sources/pfam.py,sha256=a2509a19315b2524a4974101d2215794c639b2ede25832449819524f4c3efff8,975
|
62
62
|
bioversions/sources/interpro.py,sha256=1fa75923bd60517a3b2f661e7c24e2243e2ab90440bf2621e670c36e1da2baf1,1238
|
@@ -75,8 +75,8 @@ bioversions/templates/home.html,sha256=cfdf054ac94244fd8adfdc5b1e948f824d7d8fb67
|
|
75
75
|
bioversions/templates/base.html,sha256=00a07a693dfd53d56d38cdb3bd6fd49b922060ef4acbe08ba41cb1cb95d73b93,713
|
76
76
|
bioversions/__main__.py,sha256=0e97cd1eac70162293fb809292e2cba2464218394244001f3f9e0c74b8f71351,128
|
77
77
|
bioversions/wsgi.py,sha256=b611913189165699cd67480f3d17308344ac935e31c693017aabea89bd0ba8ab,825
|
78
|
-
bioversions-0.8.
|
79
|
-
bioversions-0.8.
|
80
|
-
bioversions-0.8.
|
81
|
-
bioversions-0.8.
|
82
|
-
bioversions-0.8.
|
78
|
+
bioversions-0.8.2.dist-info/licenses/LICENSE,sha256=41c80964a1b1956e41c013670812fc5592d5b51bd7b3cd4287d949450488a498,1076
|
79
|
+
bioversions-0.8.2.dist-info/WHEEL,sha256=1c77bbda0b527f376a68ced20cbc1aac3efc7bc4d7c10cc4323a905ef79ae8db,78
|
80
|
+
bioversions-0.8.2.dist-info/entry_points.txt,sha256=4cdd92beb5155987fe3fa990cbaa0268658f0e30d27ed349fada88c48b97484e,54
|
81
|
+
bioversions-0.8.2.dist-info/METADATA,sha256=e1482b48640b744c314c677fce78127f3c13f0edf7d566e8618e475b1b53df40,18672
|
82
|
+
bioversions-0.8.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|