Describe the bug
For certain subject_ids, the service will map empty procedure models with no info. This can be confusing/unimportant to users, so remove mapping for these.
See empty procedure in subject_procedures
{"message":"Valid Model.","data":{"describedBy":"https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/procedures.py","schema_version":"0.7.0","subject_id":"434379","subject_procedures":[{"start_date":null,"end_date":null,"experimenter_full_name":"NSB-187","iacuc_protocol":null,"animal_weight_prior":null,"animal_weight_post":null,"weight_unit":"gram","anaesthesia":null,"notes":null}],"specimen_procedures":[],"notes":null}}
Expected behavior
If there is a hit on sharepoint for a subject_id, but it is missing both procedure_type and start_date --> do not create a general procedures model.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug For certain subject_ids, the service will map empty procedure models with no info. This can be confusing/unimportant to users, so remove mapping for these.
To Reproduce Steps to reproduce the behavior:
{"message":"Valid Model.","data":{"describedBy":"https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/procedures.py","schema_version":"0.7.0","subject_id":"434379","subject_procedures":[{"start_date":null,"end_date":null,"experimenter_full_name":"NSB-187","iacuc_protocol":null,"animal_weight_prior":null,"animal_weight_post":null,"weight_unit":"gram","anaesthesia":null,"notes":null}],"specimen_procedures":[],"notes":null}}
Expected behavior If there is a hit on sharepoint for a subject_id, but it is missing both procedure_type and start_date --> do not create a general procedures model.
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.