blob: 47eef0beefa1b38291685139e2ee5c098dec2967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Editing Case-Attributes
## Tags
* type: document
* keywords: case-attribute, editing
* assigned: fredm, zachs, acenteno
* status: requirements gathering
## Introduction
Case-Attributes are essentially the metadata for the samples. In the GN2 system, they are the extra columns in the table in the "Reviews and Edit Data" accordion tab besides the value and its error margin.
## Status
There is code that existed for the case-attributes editing, but it had a critical bug where the data for existing attributes would be deleted/replaced randomly when one made a change. This lead to a pause in this effort.
This bug should probably be the first thing to look at and resolve to get the current code out to the users.
We should probably also enable a rollback feature.
## Notes
* Liaise with @Munyoki to collect further information on the case-attributes
* The relevant database tables are "CaseAttribute" and "CaseAttributeXRefNew"
## What are "Case-Attributes"
* **TODO**: Request clarification of what case-attributes are and how they are used
* From email: "Every strain has a unique attribute and it's fixed, not variable."
## Authorisation
* From email: "it's probably not okay to let anyone who can edit sample data for a trait also edit case attributes, since they're group level"
## Features
* Editing existing case-attributes: YES
* Adding new case attributes: ???
* Deleting existing case attributes: ???
## Related issues
=> /issues/case-attr-edit-error
=> /issues/fix-case-attribute-work
=> /issues/fix-case-attribute-editing
=> /issues/consecutive-crud-applications-when-uploading-data
=> /issues/edit-metadata-bugs
## References
=> /topics/data-uploads/datasets
|