Skip to content

Commit 0063219

Browse files
authored
Merge pull request #239 from include-dcc/2024-12-30_PL
2024 12 30 pl
2 parents d468198 + 21222f8 commit 0063219

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed

src/data_validation/validate_study.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ def validate_study_entry(row):
2020
researchDomain = row['research domain'].split('|') if handle_nan(row['research domain']) else [],
2121
participantLifespanStage = row['participant lifespan stage'].split('|') if handle_nan(row['participant lifespan stage']) else [],
2222
selectionCriteria = handle_nan(row['selection criteria']),
23-
studyDesign = handle_nan(row['study design']),
23+
studyDesign = row['study design'].split('|') if handle_nan(row['study design']) else [],
2424
clinicalDataSourceType = row['clinical data source type'].split('|') if handle_nan(row['clinical data source type']) else [],
2525
dataCategory = row['data category'].split('|') if handle_nan(row['data category']) else [],
2626
studyWebsite = handle_nan(row['study website']),
2727
dbgap = row['dbgap'].split('|') if handle_nan(row['dbgap']) else [],
2828
publication = str(row['publication']).split('|') if handle_nan(row['publication']) else [],
2929
expectedNumberOfParticipants = handle_nan(row['expected number of participants']),
3030
guidType = row['guid type'],
31-
guidMapped = bool(row['guids mapped?']),
31+
guidMapped = bool(row['guid mapped']),
3232
acknowledgments = row['acknowledgments'].split('|') if handle_nan(row['acknowledgments']) else [],
3333
citationStatement = row['citation statement'].split('|') if handle_nan(row['citation statement']) else []
3434
)

src/linkml/include_assay.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ classes:
8888
- sampleExternalId #usage of this field in multi-sample files is TBD
8989
- fileName
9090
- fileGlobalId
91-
- fileS3Location
9291
- fileUploadLocation
92+
- fileS3Location
9393
- drsUri
9494
- fileHash
9595
- dataAccess

src/linkml/include_participant.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,12 @@ classes:
5252
- firstPatientEngagementEvent
5353
- outcomesVitalStatus
5454
- ageAtLastVitalStatus
55-
# FamilyGroup:
56-
# name: FamilyGroup
57-
# definition_uri: include:FamilyGroup
58-
# annotations:
59-
# required:
60-
# tag: required
61-
# value: 'False'
62-
# requires_component:
63-
# tag: requires_component
64-
# value: Study,Participant
65-
# description: A group of Participants in the same Study
66-
# title: FamilyGroup
67-
# is_a: Thing
68-
# slots:
69-
# - has_member # add this slot later
55+
slot_usage:
56+
studyCode:
57+
multivalued: true
58+
participantExternalId:
59+
multivalued: true
60+
7061
Condition:
7162
title: Condition
7263
annotations:

src/linkml/include_study.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ slots:
224224
title: Study Design
225225
range: enum_studyDesign
226226
required: true
227+
multivalued: true
227228
clinicalDataSourceType:
228229
definition_uri: include:clinicalDataSourceType
229230
description: Source(s) of data collected from study participants; pipe-separated if multiple
@@ -389,6 +390,9 @@ enums:
389390
bri_dsr:
390391
text: bri_dsr
391392
title: BRI-DSR
393+
ccds:
394+
text: ccds
395+
title: CCDS
392396
child_ds:
393397
text: child_ds
394398
title: CHILD-DS
@@ -398,6 +402,9 @@ enums:
398402
decidas:
399403
text: decidas
400404
title: DECIDAS
405+
ds_arc:
406+
text: ds_arc
407+
title: DS-ARC
401408
ds_brain:
402409
text: ds_brain
403410
title: DS-Brain
@@ -437,6 +444,9 @@ enums:
437444
dsc:
438445
text: dsc
439446
title: DSC
447+
dsrrs:
448+
text: dsrrs
449+
title: DSRRS
440450
ecods:
441451
text: ecods
442452
title: ECODS
@@ -594,9 +604,9 @@ enums:
594604
cognitive_behavioral:
595605
text: cognitive_behavioral
596606
title: Cognitive/Behavioral
597-
immune_maps:
598-
text: immune_maps
599-
title: Immune Maps
607+
immune_profiling:
608+
text: immune_profiling
609+
title: Immune Profiling
600610
imaging:
601611
text: imaging
602612
title: Imaging

0 commit comments

Comments
 (0)