hubmapconsortium / hubmap-api-py-client

Python client for the Cells API
MIT License
1 stars 0 forks source link

How are organ names generated? Will they align? #9

Closed mccalluc closed 3 years ago

mccalluc commented 3 years ago

How are organ names generated? Will they align with names from other parts of the system? For instance, I think it makes sense to just have a single Kidney here, but in other parts of the system it's two separate codes.

SFD5311 commented 3 years ago

In general, organs are resolved from dataset UUIDs using search-API. Per your suggestion following the data portal meeting a while back, I then introduced a subsequent step which eliminates Left and Right distinctions for the Kidney, Lung, Bronchi, and numbers for the Lymph Nodes.

mccalluc commented 3 years ago

@SFD5311 : Sounds good: On our side, that same mapping happens at index-time. If the rules ever get more complicated, there should be some utility that we share, but for now, I think it' easiest just to have the same thing being done in two different places in the code base. Closing.