Skip to content

Commit

Permalink
start cleaning up label metadata for geneontology/noctua#801
Browse files Browse the repository at this point in the history
  • Loading branch information
kltm committed Nov 18, 2022
1 parent 9eff5ea commit dc4dbf7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions conf/context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#### Colors are X11: http://cng.seas.rochester.edu/CNG/docs/x11color.html
#### For now, "manually" export into context.js.tmpl using:
#### [C-u M-!]
#### /home/sjcarbon/local/src/git/amigo/node_modules/.bin/yaml2json /home/sjcarbon/local/src/git/amigo/conf/context.yaml --p
#### /home/sjcarbon/local/src/git/amigo/node_modules/.bin/yaml2json /home/sjcarbon/local/src/git/amigo/conf/context.yaml --p > /tmp/foo.json
#### Inject manually into:
#### amigo/javascript/npm/amigo2-instance-data/generation-templates/context.js.tmpl
####
'instance_of':
readable: 'instance of'
Expand Down Expand Up @@ -221,7 +223,7 @@ activates:
# green
color: '#008000'
'RO:0002407':
readable: 'indirectly activates'
readable: 'indirectly positively regulates'
priority: 1
aliases:
- 'http://purl.obolibrary.org/obo/indirectly_activates'
Expand Down Expand Up @@ -253,7 +255,7 @@ upstream_of:
# red
color: '#FF0000'
'RO:0002409':
readable: 'indirectly inhibits'
readable: 'indirectly negatively regulates'
priority: 1
aliases:
- 'http://purl.obolibrary.org/obo/indirectly_inhibits'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*
* Package: context.js
*
*
* Namespace: amigo.data.context
*
*
* Another context.
*/


/*
* Variable: context
*
*
* Manually added in from conf/context.yaml.
*/
var data_context = {
Expand Down Expand Up @@ -249,7 +249,7 @@ var data_context = {
"color": "#008000"
},
"RO:0002407": {
"readable": "indirectly activates",
"readable": "indirectly positively regulates",
"priority": 1,
"aliases": [
"http://purl.obolibrary.org/obo/indirectly_activates",
Expand Down Expand Up @@ -284,7 +284,7 @@ var data_context = {
"color": "#FF0000"
},
"RO:0002409": {
"readable": "indirectly inhibits",
"readable": "indirectly negatively regulates",
"priority": 1,
"aliases": [
"http://purl.obolibrary.org/obo/indirectly_inhibits",
Expand Down

0 comments on commit dc4dbf7

Please sign in to comment.