Skip to content

scene_pipelines.schemas.scene.subject

SCENE-shared subject identity.

SubjectKind

Bases: Lookup

Extensible vocabulary for Subject.kind — insert a row to add a kind.

The built-in kinds are class attributes, e.g. SubjectKind.MOUSE.

Subject

Bases: Manual

Individual identity (human, mouse, other), registered by one lab.

subject_id is minted by register_subject; the lab refers to the subject by subject_code, which is unique within that lab. The code is a pseudonym: never a real name, initials, birth date or other identifying information (it is shared with the consortium).