cortex-lab / cortex-lab/alyx

Add Cage autoname feature & uniqueness requirement

Open
#656 2 comments 0 reactions 1 assignee View on GitHub

@rossant is already working on this.

Since Aug 31, 2020.

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

Description

It is possible to create multiple cages with the same ID, which may lead to the mixing up of subjects and improper housing assignments. I am attaching three screen shots to illustrate this issue:

  1. Each time a new housing is created, this adds a new record with an ID that is hidden from the housing table. In a screen shot with all housing records shown, you can see there are multiple records for a cage identified with a barcode numbered 32686. There is no error that prevents you from adding a duplicate cage ID.
    housing-all

  2. It is possible to have more than one cage active simultaneously with the same Cage ID. As shown in this screen shot with only the current cages filtered.
    housing-current

  3. When adding a cage in the subject view, all of the duplicated cage records appear as an option. In this case the unique identifier corresponding to the cage record is visible (see screen shot below)
    subject-cages

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.