@@ -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 )
0 commit comments