hubmapconsortium / ingest-api

MIT License
0 stars 0 forks source link

Detect assayclassifier call for Sample, Donor #635

Closed jswelling closed 1 month ago

jswelling commented 2 months ago

Previously, calls to the assaytype or assaytype/metadata endpoints with uuids/HuBMAP IDs for samples or donors were not properly flagged and would cause a 500 return. This mod catches those cases and returns a 400 User Error instead.

yuanzhou commented 1 month ago

@jpuerto-psc what's the status of this PR? Have you reviewed and tested locally?

jpuerto-psc commented 1 month ago

@yuanzhou - just getting back in after PTO. I'm giving this my approval so that we can deploy it onto DEV.