Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move implant weight to surgery model #835

Open
6 of 7 tasks
k1o0 opened this issue Feb 12, 2024 · 0 comments
Open
6 of 7 tasks

Move implant weight to surgery model #835

k1o0 opened this issue Feb 12, 2024 · 0 comments

Comments

@k1o0
Copy link
Contributor

k1o0 commented Feb 12, 2024

  • Add implant_weight field to Surgery model (+ve float, non-nullable, blank).
  • Modify water control model to subtract last surgery implant weight from each weighing.
  • Modify water restriction admin view to show non-editable implant weights.
  • Add migration to remove implant weight from Subject model; copy implant weight to subject JSON field.
  • Run script to move implant weight values to first headplate implant surgery or to first surgery.
  • Deploy to cortexlab Alyx dev
  • Deploy to production
k1o0 added a commit that referenced this issue Feb 21, 2024
k1o0 added a commit that referenced this issue Mar 21, 2024
implant weight migration; test water control class

Add surgery implant weight non-negative constraint; fix subject admin change list view error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant