Difference between revisions of "New 2012 Curation Status"
From WormBaseWiki
Jump to navigationJump to searchm (Created page with 'Curation Status & Statistics Form (2012) The sandbox/testing form can be found [http://mangolassi.caltech.edu/~postgres/cgi-bin/curation_status.cgi here]') |
m |
||
Line 2: | Line 2: | ||
The sandbox/testing form can be found [http://mangolassi.caltech.edu/~postgres/cgi-bin/curation_status.cgi here] | The sandbox/testing form can be found [http://mangolassi.caltech.edu/~postgres/cgi-bin/curation_status.cgi here] | ||
+ | |||
+ | |||
+ | |||
+ | = Precanned Comments = | ||
+ | |||
+ | The keys stored in postgres for the hashes of these values are only numbers, so the descriptions/titles can change or be updated and still apply retroactively. | ||
+ | |||
+ | Code: | ||
+ | |||
+ | <pre> | ||
+ | sub populatePremadeComments { | ||
+ | $premadeComments{"1"} = "SVM Positive, Curation Negative"; | ||
+ | $premadeComments{"2"} = "pre-made comment #2"; | ||
+ | $premadeComments{"3"} = "pre-made comment #3";} | ||
+ | </pre> | ||
+ | |||
+ | So, as of now: | ||
+ | |||
+ | | Key | Comment | | ||
+ | | 1 | "SVM Positive, Curation Negative" | | ||
+ | | 2 | "pre-made comment #2" | | ||
+ | | 3 | "pre-made comment #3" | | ||
+ | |||
+ | |||
+ | |||
+ | Hence, if a completely new comment is desired, a new key will need to be made and there after associated with that new comment. Also, old keys should never be recycled and documentation describing what each key refers to should be maintained in this Wiki. |
Revision as of 20:49, 5 December 2012
Curation Status & Statistics Form (2012)
The sandbox/testing form can be found here
Precanned Comments
The keys stored in postgres for the hashes of these values are only numbers, so the descriptions/titles can change or be updated and still apply retroactively.
Code:
sub populatePremadeComments { $premadeComments{"1"} = "SVM Positive, Curation Negative"; $premadeComments{"2"} = "pre-made comment #2"; $premadeComments{"3"} = "pre-made comment #3";}
So, as of now:
| Key | Comment | | 1 | "SVM Positive, Curation Negative" | | 2 | "pre-made comment #2" | | 3 | "pre-made comment #3" |
Hence, if a completely new comment is desired, a new key will need to be made and there after associated with that new comment. Also, old keys should never be recycled and documentation describing what each key refers to should be maintained in this Wiki.