hubmapconsortium / entity-api

A set of web service calls to return information about HuBMAP entities
https://entity.api.hubmapconsortium.org
MIT License
3 stars 1 forks source link

Modified data sankey endpoint. Uses dataset_type rather than data_types. #595

Closed DerekFurstPitt closed 6 months ago

DerekFurstPitt commented 6 months ago

Modified data sankey endpoint. Uses dataset_type rather than data_types. Various conversions and mappings no longer required. Also fixed a previous inefficiency which would cause the function to take minutes to run. Now it only takes seconds. This was caused by unecessary calls to ontology. This was done by modifying validate_organ_code to take an optional argument that includes the organ dictionary.