monarch-initiative / monarch-app

Monarch Initiative website and API
https://monarchinitiative.org/
BSD 3-Clause "New" or "Revised" License
18 stars 5 forks source link

Replace translation_table.yaml with a monarch vocabulary constants file #720

Open kevinschaper opened 2 years ago

kevinschaper commented 2 years ago

We're only using a very small part of translation_table.yaml, and the yaml lookup doesn't provide the same kind of IDE benefits that we would have from using constants.

We should replace all of the existing global translation table lookups with a monarch vocabulary constants file, and rather than using local translation tables, we can also use separate constants for individual ingests

monicacecilia commented 9 months ago

Dear @kevinschaper -- could I kindly ask you to please check my math and let me know if this is already solved?