x-atlas-consortia / hs-ontology-api

Ontology API built on top of the UBKG API and shared by HuBMAP and SenNet projects
1 stars 0 forks source link

Enhance dataset-types endpoint to identify Epic dataset types and filter #131

Closed AlanSimmons closed 1 month ago

AlanSimmons commented 2 months ago

Statement of problem

The new Segmentation Mask dataset type is a dataset type specific to Epics. We need to be able to distinguish between Epic dataset types and the normal types.

Solution

  1. Enhance the dataset_type concept hierarchy to account for whether the dataset type "isepic" or not.
  2. Enhance the current dataset-types endpoint so that:
    • Each dataset object has a "isepic" field.
    • There is a filtering parameter--e.g., ?isepic=True. or ?isepic=False. The default (no parameter) will return all dataset types.
AlanSimmons commented 2 months ago

Waiting for Oct 10 thaw of environment freeze related to HuBMAP Hackathon.