AllenNeuralDynamics / aind-metadata-service

Service to retrieve Labtracks/Sharepoint info using a REST API
MIT License
3 stars 1 forks source link

Ghost procedures #282

Closed saskiad closed 1 week ago

saskiad commented 1 month ago

Describe the bug I see a number of records where there is a LAS Surgery with a date, iacuc_protocol, and experimenter_full_name, and nothing else. What are these procedures?

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' metadata service

  2. enter 708026 in procedures, hit search

  3. the last procedures (2024-09-11) has no information

  4. enter 655571 in procedures, hit search

  5. last procedures has no information

Both of these have "LAS_XXXX" as the experimenter full name whereas the other LAS procedures (the Perfusion) only has a number for the name. That seems like it might be relevant

Expected behavior A clear and concise description of what you expected to happen.

I expect some sort of procedure name for a procedure - and ideally other relevant fields.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

mekhlakapoor commented 1 week ago

the LAS procedures (the Perfusion)that only has a number for the name is coming from Labtracks, while the ones with "LAS-XXXX" is coming from LAS's sharepoint. Right now, we are only mapping RO and IP injections from the LAS sharepoint, but these subjects have other non-surgical procedures which is why it's returning a ghost procedure. I can add a check to ensure it only returns the surgery if we have mapped procedures though