Skip to content

Commit 6576564

Browse files
authoredMar 12, 2025··
Merge pull request #2359 from microbiomedata/2337-move-protocolexecution-to-deprecatedyaml-after-the-next-release-1140
Cleanup: Move `ProtocolExecution` and related slots to `deprecated.yaml`
2 parents 49fec70 + e14683b commit 6576564

File tree

2 files changed

+46
-49
lines changed

2 files changed

+46
-49
lines changed
 

‎src/schema/deprecated.yaml

+46-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,35 @@ classes:
5858
- type
5959
deprecated: "not used. 2024-11 https://github.com/microbiomedata/nmdc-schema/issues/2250"
6060

61+
ProtocolExecution:
62+
class_uri: 'nmdc:ProtocolExecution'
63+
is_a: PlannedProcess
64+
description: A PlannedProces that has PlannedProcess parts. Can be used to represent the case of someone following a Protocol.
65+
slots:
66+
- has_process_parts
67+
- protocol_execution_category
68+
slot_usage:
69+
id:
70+
required: true
71+
structured_pattern:
72+
syntax: "{id_nmdc_prefix}:pex-{id_shoulder}-{id_blade}$"
73+
interpolated: true
74+
has_input:
75+
structured_pattern:
76+
syntax: "{id_nmdc_prefix}:(bsm|procsm)-{id_shoulder}-{id_blade}$"
77+
interpolated: true
78+
has_output:
79+
structured_pattern:
80+
syntax: "{id_nmdc_prefix}:(procsm)-{id_shoulder}-{id_blade}$"
81+
interpolated: true
82+
has_process_parts:
83+
required: true
84+
structured_pattern:
85+
syntax: "{id_nmdc_prefix}:(extrp|filtpr|dispro|poolp|libprp|subspr|mixpro|chcpr|cspro)-{id_shoulder}-{id_blade}$"
86+
interpolated: true
87+
description: The MaterialProcessing steps that are discrete parts of the ProtocolExecution.
88+
deprecated: "not used, not fulfilling intended purpose https://github.com/microbiomedata/nmdc-schema/issues/2336"
89+
6190
slots:
6291
omics_type:
6392
deprecated_element_has_exact_replacement: analyte_category
@@ -115,4 +144,20 @@ slots:
115144
range: PeptideQuantification
116145
multivalued: true
117146
inlined_as_list: true
118-
deprecated: "not used. 2024-11 https://github.com/microbiomedata/nmdc-schema/issues/2250"
147+
deprecated: "not used. 2024-11 https://github.com/microbiomedata/nmdc-schema/issues/2250"
148+
protocol_execution_set:
149+
mixins: object_set
150+
range: ProtocolExecution
151+
description: This property links a database object to the set of protocol executions within it.
152+
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"
153+
protocol_execution_category:
154+
range: ProtocolCategoryEnum
155+
required: true
156+
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"
157+
has_process_parts:
158+
range: PlannedProcess
159+
description: A list of process parts that make up a protocol.
160+
required: true
161+
multivalued: true
162+
list_elements_ordered: true
163+
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"

‎src/schema/nmdc.yaml

-48
Original file line numberDiff line numberDiff line change
@@ -475,35 +475,6 @@ classes:
475475
syntax: "{id_nmdc_prefix}:clsite-{id_shoulder}-{id_blade}$"
476476
interpolated: true
477477

478-
ProtocolExecution:
479-
class_uri: 'nmdc:ProtocolExecution'
480-
is_a: PlannedProcess
481-
description: A PlannedProces that has PlannedProcess parts. Can be used to represent the case of someone following a Protocol.
482-
slots:
483-
- has_process_parts
484-
- protocol_execution_category
485-
slot_usage:
486-
id:
487-
required: true
488-
structured_pattern:
489-
syntax: "{id_nmdc_prefix}:pex-{id_shoulder}-{id_blade}$"
490-
interpolated: true
491-
has_input:
492-
structured_pattern:
493-
syntax: "{id_nmdc_prefix}:(bsm|procsm)-{id_shoulder}-{id_blade}$"
494-
interpolated: true
495-
has_output:
496-
structured_pattern:
497-
syntax: "{id_nmdc_prefix}:(procsm)-{id_shoulder}-{id_blade}$"
498-
interpolated: true
499-
has_process_parts:
500-
required: true
501-
structured_pattern:
502-
syntax: "{id_nmdc_prefix}:(extrp|filtpr|dispro|poolp|libprp|subspr|mixpro|chcpr|cspro)-{id_shoulder}-{id_blade}$"
503-
interpolated: true
504-
description: The MaterialProcessing steps that are discrete parts of the ProtocolExecution.
505-
deprecated: "not used, not fulfilling intended purpose https://github.com/microbiomedata/nmdc-schema/issues/2336"
506-
507478
SubSamplingProcess:
508479
class_uri: 'nmdc:SubSamplingProcess'
509480
description: >
@@ -1235,12 +1206,6 @@ slots:
12351206
range: Manifest
12361207
description: This property links a database object to the set of manifests within it.
12371208

1238-
protocol_execution_set:
1239-
mixins: object_set
1240-
range: ProtocolExecution
1241-
description: This property links a database object to the set of protocol executions within it.
1242-
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"
1243-
12441209
storage_process_set:
12451210
mixins: object_set
12461211
range: StorageProcess
@@ -1278,19 +1243,6 @@ slots:
12781243
- ORCID:0009-0001-1555-1601 #Anastasiya Prymolenna
12791244
- ORCID:0000-0002-8683-0050 #Montana Smith
12801245

1281-
protocol_execution_category:
1282-
range: ProtocolCategoryEnum
1283-
required: true
1284-
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"
1285-
1286-
has_process_parts:
1287-
range: PlannedProcess
1288-
description: A list of process parts that make up a protocol.
1289-
required: true
1290-
multivalued: true
1291-
list_elements_ordered: true
1292-
deprecated: "not used https://github.com/microbiomedata/nmdc-schema/issues/2336"
1293-
12941246
filter_material:
12951247
description: "A porous material on which solid particles present in air or other fluid which flows through it are largely caught and retained."
12961248
comments:

0 commit comments

Comments
 (0)
Please sign in to comment.