AllenNeuralDynamics / aind-metadata-service

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

Attribute Errors for injection materials #233

Closed mekhlakapoor closed 2 months ago

mekhlakapoor commented 2 months ago

Describe the bug The metadata-service is broken because of attribute errors being raised by the tars integration. Because we aren't mapping injection materials from labtracks, there is no data there which is resulting in the attribute error

To Reproduce Steps to reproduce the behavior:

  1. Go to http://aind-metadata-service/procedures/609105
  2. Check logs and see error

Expected behavior In the tars integration code, make sure to use has_attr to ensure fields exist

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.