Skip to content

Commit e147d84

Browse files
🐛 Correct field typo
invesitgator_title -> investigator_title closes #4
1 parent 151871e commit e147d84

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/include_access_model/datamodel/include_access_model.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from include_access_model.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2026-02-02T11:07:35
2+
# Generation date: 2026-02-23T11:50:56
33
# Schema: include-access-model
44
#
55
# id: https://includedcc.org/include-access-model
@@ -363,7 +363,7 @@ class Investigator(Record):
363363

364364
name: Optional[str] = None
365365
institution: Optional[str] = None
366-
invesitgator_title: Optional[str] = None
366+
investigator_title: Optional[str] = None
367367
email: Optional[str] = None
368368

369369
def __post_init__(self, *_: str, **kwargs: Any):
@@ -373,8 +373,8 @@ def __post_init__(self, *_: str, **kwargs: Any):
373373
if self.institution is not None and not isinstance(self.institution, str):
374374
self.institution = str(self.institution)
375375

376-
if self.invesitgator_title is not None and not isinstance(self.invesitgator_title, str):
377-
self.invesitgator_title = str(self.invesitgator_title)
376+
if self.investigator_title is not None and not isinstance(self.investigator_title, str):
377+
self.investigator_title = str(self.investigator_title)
378378

379379
if self.email is not None and not isinstance(self.email, str):
380380
self.email = str(self.email)
@@ -1077,8 +1077,8 @@ class slots:
10771077
slots.study_short_name = Slot(uri=INCLUDEDCC.study_short_name, name="study_short_name", curie=INCLUDEDCC.curie('study_short_name'),
10781078
model_uri=INCLUDEDCC.study_short_name, domain=None, range=Optional[str])
10791079

1080-
slots.invesitgator_title = Slot(uri=INCLUDEDCC.invesitgator_title, name="invesitgator_title", curie=INCLUDEDCC.curie('invesitgator_title'),
1081-
model_uri=INCLUDEDCC.invesitgator_title, domain=None, range=Optional[str])
1080+
slots.investigator_title = Slot(uri=INCLUDEDCC.investigator_title, name="investigator_title", curie=INCLUDEDCC.curie('investigator_title'),
1081+
model_uri=INCLUDEDCC.investigator_title, domain=None, range=Optional[str])
10821082

10831083
slots.name = Slot(uri=INCLUDEDCC.name, name="name", curie=INCLUDEDCC.curie('name'),
10841084
model_uri=INCLUDEDCC.name, domain=None, range=Optional[str])

src/include_access_model/datamodel/include_access_model_pydantic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class Investigator(Record):
449449

450450
name: Optional[str] = Field(default=None, title="Name", description="""Name of the entity.""", json_schema_extra = { "linkml_meta": {'domain_of': ['VirtualBiorepository', 'Investigator']} })
451451
institution: Optional[str] = Field(default=None, title="Institution", description="""Name of the institution this record is associated with.""", json_schema_extra = { "linkml_meta": {'domain_of': ['VirtualBiorepository', 'Investigator']} })
452-
invesitgator_title: Optional[str] = Field(default=None, title="Investigator Title", description="""The title of the Investigator, eg, \"Assistant Professor\"""", json_schema_extra = { "linkml_meta": {'domain_of': ['Investigator']} })
452+
investigator_title: Optional[str] = Field(default=None, title="Investigator Title", description="""The title of the Investigator, eg, \"Assistant Professor\"""", json_schema_extra = { "linkml_meta": {'domain_of': ['Investigator']} })
453453
email: Optional[str] = Field(default=None, title="Email Address", description="""An email address to reach the entity.""", json_schema_extra = { "linkml_meta": {'domain_of': ['Investigator']} })
454454
external_id: Optional[list[str]] = Field(default=[], title="External Identifiers", description="""Other identifiers for this entity, eg, from the submitting study or in systems like dbGaP""", json_schema_extra = { "linkml_meta": {'domain_of': ['Record']} })
455455

src/include_access_model/schema/include_access_model.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ classes:
110110
- name
111111
- institution
112112
# - orcid : Should we call this out specifically or just use an external id?
113-
- invesitgator_title
113+
- investigator_title
114114
- email
115115
Publication:
116116
title: Publication
@@ -250,7 +250,7 @@ slots:
250250
description: Short name for the study
251251
range: string
252252
required: false
253-
invesitgator_title:
253+
investigator_title:
254254
title: Investigator Title
255255
description: The title of the Investigator, eg, "Assistant Professor"
256256
range: string

0 commit comments

Comments
 (0)