AllenNeuralDynamics / aind-metadata-service

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

Incorrect source for mice not bred at Allen Institute #222

Closed dyf closed 2 months ago

dyf commented 2 months ago

Describe the bug Mice sourced outside of Allen have incorrect breeding information.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'mouse 714640'
  2. See that source is Allen Institute instead of Jackson Laboratories
mekhlakapoor commented 2 months ago

Right now, the metadata-service assumes that all mice in Labtracks is from the Allen Institute. Source is not being tracked in a particular table/field; Instead, if a subject is not from AI, it is just noted in Comments. @saskiad @dyf Would it be best for the metadata-service to always return source as None instead of assuming it's from AI?

mekhlakapoor commented 2 months ago

Game plan: Check if we can find breeding info. If that information exists, it is AI source. Otherwise, either map source to null or look in the comment.