nmdc-schema 11.11.0__py3-none-any.whl → 11.11.1__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.
- nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py +2 -2
- nmdc_schema/nmdc-pydantic.py +1 -1
- nmdc_schema/nmdc.py +2 -2
- nmdc_schema/nmdc.schema.json +1 -1
- nmdc_schema/nmdc_materialized_patterns.json +1 -1
- nmdc_schema/nmdc_materialized_patterns.schema.json +1 -1
- nmdc_schema/nmdc_materialized_patterns.yaml +1 -1
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.11.1.dist-info}/METADATA +1 -1
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.11.1.dist-info}/RECORD +12 -12
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.11.1.dist-info}/WHEEL +0 -0
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.11.1.dist-info}/entry_points.txt +0 -0
- {nmdc_schema-11.11.0.dist-info → nmdc_schema-11.11.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -7,11 +7,11 @@ class Migrator(MigratorBase):
|
|
|
7
7
|
_from_version = "11.10.0"
|
|
8
8
|
_to_version = "11.11.0.part_1"
|
|
9
9
|
|
|
10
|
-
def upgrade(self) -> None:
|
|
10
|
+
def upgrade(self, commit_changes: bool = True) -> None:
|
|
11
11
|
r"""Migrates the database from conforming to the original schema, to conforming to the new schema."""
|
|
12
12
|
self.adapter.do_for_each_document("biosample_set", self.check_for_fields)
|
|
13
13
|
|
|
14
|
-
def check_for_fields(self, biosample: dict) ->
|
|
14
|
+
def check_for_fields(self, biosample: dict) -> None:
|
|
15
15
|
r"""
|
|
16
16
|
Check each biosample record to ensure none of the removed slots are being used.
|
|
17
17
|
List of the slots that were removed:
|
nmdc_schema/nmdc-pydantic.py
CHANGED
nmdc_schema/nmdc.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Auto generated from nmdc.yaml by pythongen.py version: 0.0.1
|
|
2
|
-
# Generation date: 2025-09-
|
|
2
|
+
# Generation date: 2025-09-19T01:08:09
|
|
3
3
|
# Schema: NMDC
|
|
4
4
|
#
|
|
5
5
|
# id: https://w3id.org/nmdc/nmdc
|
|
@@ -60,7 +60,7 @@ from linkml_runtime.linkml_model.types import Boolean, Decimal, Double, Float, I
|
|
|
60
60
|
from linkml_runtime.utils.metamodelcore import Bool, Decimal, URIorCURIE
|
|
61
61
|
|
|
62
62
|
metamodel_version = "1.7.0"
|
|
63
|
-
version = "11.11.
|
|
63
|
+
version = "11.11.1"
|
|
64
64
|
|
|
65
65
|
# Namespaces
|
|
66
66
|
BFO = CurieNamespace('BFO', 'http://purl.obolibrary.org/obo/BFO_')
|
nmdc_schema/nmdc.schema.json
CHANGED
|
@@ -15555,5 +15555,5 @@
|
|
|
15555
15555
|
},
|
|
15556
15556
|
"title": "NMDC",
|
|
15557
15557
|
"type": "object",
|
|
15558
|
-
"version": "11.11.
|
|
15558
|
+
"version": "11.11.1"
|
|
15559
15559
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"not importing any MIxS terms where the relationship between the name (SCN) and the id isn't 1:1"
|
|
7
7
|
],
|
|
8
8
|
"id": "https://w3id.org/nmdc/nmdc",
|
|
9
|
-
"version": "11.11.
|
|
9
|
+
"version": "11.11.1",
|
|
10
10
|
"license": "https://creativecommons.org/publicdomain/zero/1.0/",
|
|
11
11
|
"prefixes": {
|
|
12
12
|
"BFO": {
|
|
@@ -15641,5 +15641,5 @@
|
|
|
15641
15641
|
},
|
|
15642
15642
|
"title": "NMDC",
|
|
15643
15643
|
"type": "object",
|
|
15644
|
-
"version": "11.11.
|
|
15644
|
+
"version": "11.11.1"
|
|
15645
15645
|
}
|
|
@@ -13,7 +13,7 @@ notes:
|
|
|
13
13
|
- not importing any MIxS terms where the relationship between the name (SCN) and the
|
|
14
14
|
id isn't 1:1
|
|
15
15
|
id: https://w3id.org/nmdc/nmdc
|
|
16
|
-
version: 11.11.
|
|
16
|
+
version: 11.11.1
|
|
17
17
|
license: https://creativecommons.org/publicdomain/zero/1.0/
|
|
18
18
|
prefixes:
|
|
19
19
|
BFO:
|
|
@@ -81,7 +81,7 @@ nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0
|
|
|
81
81
|
nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0_3_to_11_1_0_part_2.py,sha256=1YsZSBySqadiKPUtH76j61t_iN8sXKZ0pqZCisVahwU,1911
|
|
82
82
|
nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0_3_to_11_1_0_part_3.py,sha256=KAWPyUA7JwXvQg6cj4CZSyhYkkdQYG5pMhuy7uUXUZc,2115
|
|
83
83
|
nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/__init__.py,sha256=0Vyyg3SaqNsV426IFeWw1xgEDFAol5J57ggk7bDAAf4,1001
|
|
84
|
-
nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py,sha256=
|
|
84
|
+
nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py,sha256=JTjgjW8GhpDuNQajNN2EBoDzm6OFJg9E42pR7HDqIiE,3595
|
|
85
85
|
nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_2.py,sha256=cNgxp1XBVKSiQAAhUfLXWvEK8UyJTnveO_c_BqvlCVo,1986
|
|
86
86
|
nmdc_schema/migrators/partials/migrator_from_11_1_0_to_11_2_0/__init__.py,sha256=e-neqgmL6Zsy6h5PGmWPj9qIqrTm3yvNgo2l2i7Sduc,990
|
|
87
87
|
nmdc_schema/migrators/partials/migrator_from_11_1_0_to_11_2_0/migrator_from_11_1_0_to_11_2_0_part_1.py,sha256=4nN_2iZqML84R9EgznIcj7FjIlRHSSM8XqLerUgMYbI,13230
|
|
@@ -102,17 +102,17 @@ nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/__init__.py,sha25
|
|
|
102
102
|
nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_1.py,sha256=6MYmrB9yfJ3XFb2QabTcJeycK2tyVO3MtSItns2s9Zg,35421
|
|
103
103
|
nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_2.py,sha256=wzard2sUTeRS7voVTfPt3_OtafTffnv0o0OyE1OBzA0,2987
|
|
104
104
|
nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_3.py,sha256=crm2NEmn0xepEMKWHvCSkfX3G6hRn377f38rq24XlO8,3710
|
|
105
|
-
nmdc_schema/nmdc-pydantic.py,sha256=
|
|
106
|
-
nmdc_schema/nmdc.py,sha256=
|
|
107
|
-
nmdc_schema/nmdc.schema.json,sha256=
|
|
105
|
+
nmdc_schema/nmdc-pydantic.py,sha256=T0c6vB4cui4HMuTBKboAka30kcINRpTkcMsWnv37Yro,1425683
|
|
106
|
+
nmdc_schema/nmdc.py,sha256=W2SglKly9g1FEXrFiBCTsLjcQAXDO9-zv9Wa-r1FZkE,716776
|
|
107
|
+
nmdc_schema/nmdc.schema.json,sha256=Q_rD8LIpepvcyUMzkVxcy4azuq4Vzq7wnxqyV_O955A,622632
|
|
108
108
|
nmdc_schema/nmdc_data.py,sha256=_wNKi5NDxuvvRsJEim2ialX7VJkDBJLRpiTOPpFHBm8,9608
|
|
109
|
-
nmdc_schema/nmdc_materialized_patterns.json,sha256=
|
|
110
|
-
nmdc_schema/nmdc_materialized_patterns.schema.json,sha256=
|
|
111
|
-
nmdc_schema/nmdc_materialized_patterns.yaml,sha256=
|
|
109
|
+
nmdc_schema/nmdc_materialized_patterns.json,sha256=MGJWCRnbofHB2992Z6PppkwJJHCqT9WAJh0zMzbvjlQ,901987
|
|
110
|
+
nmdc_schema/nmdc_materialized_patterns.schema.json,sha256=JiEGqUy09djqkws28w_DR2yqvKt8srlUfqMaWsV4EvE,630915
|
|
111
|
+
nmdc_schema/nmdc_materialized_patterns.yaml,sha256=BvlOiASFH0V0I8Rlxvrh91BEyE6CntkhuP-LPAeESB4,698448
|
|
112
112
|
nmdc_schema/nmdc_version.py,sha256=DsfEKnmN3LHR831WWELxyfZY6rnP9U8tfygamkrsaHY,2305
|
|
113
113
|
nmdc_schema/validate_nmdc_json.py,sha256=PVJV2O1qQXMi206HaUKqRNLiLc164OpNYKPURSKN8_E,3148
|
|
114
|
-
nmdc_schema-11.11.
|
|
115
|
-
nmdc_schema-11.11.
|
|
116
|
-
nmdc_schema-11.11.
|
|
117
|
-
nmdc_schema-11.11.
|
|
118
|
-
nmdc_schema-11.11.
|
|
114
|
+
nmdc_schema-11.11.1.dist-info/METADATA,sha256=mdoZkUNR001uccR7KyaZUW07n_KlfDtAf9Pf_iu6URY,5899
|
|
115
|
+
nmdc_schema-11.11.1.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
116
|
+
nmdc_schema-11.11.1.dist-info/entry_points.txt,sha256=ioyD5P6op5Zy68bqg5MafLAryb73rfzyx8YXKItroC8,1531
|
|
117
|
+
nmdc_schema-11.11.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
118
|
+
nmdc_schema-11.11.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|