Closed turbomam closed 2 months ago
I asked ChatGPT:
What is a Git command I can use to determine the commit in which a given string was
first introduced into a repository?
Its response was:
git log -S'your_string' --all --pickaxe-regex --reverse --pretty=format:"%h %ad %s"
I ran that command on my local clone of nmdc-schema
and the output pointed to this commit:
I noticed it is on a non-main
branch. I don't know whether that branch has ever been merged into main
.
ProtocolExecution has never been in the main branch. This was work in the 907 brand that has never been merged in.
Thanks @eecavanna and @anastasiyaprymolenna
From the not-yet deleted https://github.com/microbiomedata/nmdc-schema/compare/issue-907-metabolink-mergeprep branch
Here's the content that we may want to add back in:
ProtocolExecution:
is_a: PlannedProcess
description: A PlannedProces that has PlannedProcess parts. Can be used to represent the case of someone following a Protocol
slots:
- has_part
- protocol_execution_category
- protocol_link
protocol_execution_category:
domain: ProtocolExecution
range: ProtocolCategoryEnum
required: true
sample_operation_set:
mixins:
- object_set
domain: Database
range: SampleOperation
protocol_execution_set:
mixins:
- object_set
domain: Database
range: ProtocolExecution
ProtocolCategoryEnum:
description: The possible protocols that may be followed.
permissible_values:
MPLEx:
Added to berkeley-schema-fy24
@anastasiyaprymolenna
I'll see if I can dig it back up form previous commits.
I'm not too concerned even if I can't find it. I'm pretty sure I can mentally reconstruct it