cortex-lab / cortex-lab/alyx

Confirmation before posting weight values that'll generate an email

Open
#614 0 comments 0 reactions 1 assignee View on GitHub

@rossant is already working on this.

Since Dec 5, 2019.

feature
Dominant language
Python
Stars
52
Forks
12
Avg merge
1d 11h
Merged PRs (30d)
4

Description

Currently, if Alyx receives a weight entry for a mouse that is below 80%, it sends a warning email to the experimenter and to Charu. This is very often a false alarm, either because of a typo or because the user has weighed the wrong mouse.

The feature request is for a pop-up box to appear in these cases, asking the user to confirm the weight they're about to post. Specifically, if in AlyxPanel I select a mouse and click "Manual Weighing" then enter a weight that's too low and press "ok", a box should appear saying something like "You have entered $weight for $mousename. Please confirm that this is the correct weight for this mouse" with an "confirm" button that posts the weight and a "cancel" button that takes me back to enter a new weight.

It might also be useful to ask for confirmation in other cases that're likely to be errors, like if the weight of the mouse is outside some band around the recent average weight, or if the mouse has already been weighed that day.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.