Skip to content

Commit

Permalink
Merge pull request #168 from sennetconsortium/libpitt/166-organcode
Browse files Browse the repository at this point in the history
Use correct data dict structure for organ code translation - #166
  • Loading branch information
maxsibilla authored Oct 10, 2023
2 parents 1f80589 + 50a3d0d commit d1c65d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/entity_CRUD/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def run_query(query, results, i):
@entity_CRUD_blueprint.route('/datasets/data-status', methods=['GET'])
def dataset_data_status():
assay_types_dict = Ontology.ops(prop_callback=None, as_data_dict=True, data_as_val=True).assay_types()
organ_types_dict = current_app.ubkg.get_ubkg_by_endpoint(current_app.ubkg.organ_types)
organ_types_dict = Ontology.ops(as_data_dict=True, key='rui_code', val_key='term').organ_types()
all_datasets_query = (
"MATCH (ds:Dataset)-[:WAS_GENERATED_BY]->(:Activity)-[:USED]->(ancestor) "
"RETURN ds.uuid AS uuid, ds.group_name AS group_name, ds.data_types AS data_types, "
Expand Down

0 comments on commit d1c65d1

Please sign in to comment.