Describe the bug
We expect all craniotomies to be done with a headframe. However, the service is mapping only craniotomies
To Reproduce
Steps to reproduce the behavior:
query aind-metadata-service for subject_id=661278
see that it only maps craniotomy
Expected behavior
When a procedure has a craniotomy, automatically map to headframe too. Specifically, in nsb2023.models, add an elif clause in has_hp_procedure that if has_cran_procedure is true, to return True
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 We expect all craniotomies to be done with a headframe. However, the service is mapping only craniotomies
To Reproduce Steps to reproduce the behavior:
Expected behavior When a procedure has a craniotomy, automatically map to headframe too. Specifically, in nsb2023.models, add an elif clause in has_hp_procedure that if has_cran_procedure is true, to return True
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.