We have a /get_allowed_conflations endpoints that is currently hardcoded to return GeneProtein. I think the plan was to generalize the conflation features (#130) so that we could return a set of codes that could be used to turn on various conflations (e.g. /get_normalized_nodes?conflation=GeneProtein). Once we close #130 this won't be needed, but maybe until then we should remove this endpoint or add DrugChemical to the list?
We have a
/get_allowed_conflations
endpoints that is currently hardcoded to returnGeneProtein
. I think the plan was to generalize the conflation features (#130) so that we could return a set of codes that could be used to turn on various conflations (e.g./get_normalized_nodes?conflation=GeneProtein
). Once we close #130 this won't be needed, but maybe until then we should remove this endpoint or addDrugChemical
to the list?Endpoint: https://nodenormalization-sri.renci.org/docs#/default/get_conflations_get_allowed_conflations_get
https://github.com/TranslatorSRI/NodeNormalization/blob/02574e73f0b584f3a4855bb1a56345b0f8234b94/node_normalizer/server.py#L162-L174