AllenNeuralDynamics / aind-metadata-service

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

Add a check for Inj2 #133

Closed mekhlakapoor closed 1 year ago

mekhlakapoor commented 1 year ago

Describe the bug Currently, Inj2 for NSB2019 is only mapped if the field has InjRound2 has a valid value. However there's around 250 entries in the database that does not have a selected value for the field (often "Select...") but contains information about a second injection.

To Reproduce Steps to reproduce the behavior:

  1. Search for subject 654092 on the metadata service
  2. Fetch raw data from sharepoint for subject 654092
  3. Compare

Expected behavior Add a check for mapping Inj2 based on another field (such as Inj2Type).

Additional context Add any other context about the problem here.