File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def _build_assay_graph(process_sequence=list()):
68
68
status = OntologyAnnotation (
69
69
name = publication_json ['status' ]['annotationValue' ],
70
70
term_accession = publication_json ['status' ]['termAccession' ],
71
- term_source = publication_json ['status' ]['termSource' ]
71
+ term_source = term_source_dict [ publication_json ['status' ]['termSource' ] ]
72
72
)
73
73
)
74
74
try :
@@ -122,13 +122,13 @@ def _build_assay_graph(process_sequence=list()):
122
122
for assay_json in study_json ['assays' ]:
123
123
for assay_characteristics_category_json in assay_json ['characteristicCategories' ]:
124
124
characteristic_category = OntologyAnnotation (
125
+ id_ = assay_characteristics_category_json ['@id' ],
125
126
name = assay_characteristics_category_json ['characteristicType' ]['annotationValue' ],
126
127
term_source = term_source_dict [assay_characteristics_category_json ['characteristicType' ]['termSource' ]],
127
128
term_accession = assay_characteristics_category_json ['characteristicType' ]['termAccession' ],
128
129
)
129
130
# study.characteristic_categories.append(characteristic_category)
130
131
categories_dict [characteristic_category .id ] = characteristic_category
131
-
132
132
for study_json in isajson ['studies' ]:
133
133
logger .debug ('Start building Study object' )
134
134
study = Study (
You can’t perform that action at this time.
0 commit comments