Skip to content

Commit

Permalink
Merge pull request #612 from OBOFoundry/issue-611
Browse files Browse the repository at this point in the history
Added preferred prefix for WBPhenotype
  • Loading branch information
cmungall authored May 8, 2018
2 parents 727b486 + 7544b27 commit 27c66d3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 135 deletions.
9 changes: 9 additions & 0 deletions _layouts/ontology_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ <h1>
{% endfor %}
</div>
{% endif %}

{% if page.preferredPrefix %}
<div>
<div class="alert alert-info" role="alert">
This ontology uses a mixed-case prefix. Identifiers and URIs
should use "{{page.preferredPrefix}}"
</div>
</div>
{% endif %}

<div class="col-md-12">

Expand Down
1 change: 1 addition & 0 deletions ontology/wbphenotype.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: ontology_detail
id: wbphenotype
preferredPrefix: WBPhenotype
contact:
email: garys@caltech.edu
label: Gary Schindelman
Expand Down
134 changes: 0 additions & 134 deletions registry/context.jsonld

This file was deleted.

2 changes: 1 addition & 1 deletion registry/obo_context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"VTO": "http://purl.obolibrary.org/obo/VTO_",
"WBBT": "http://purl.obolibrary.org/obo/WBBT_",
"WBLS": "http://purl.obolibrary.org/obo/WBLS_",
"WBPHENOTYPE": "http://purl.obolibrary.org/obo/WBPHENOTYPE_",
"WBPhenotype": "http://purl.obolibrary.org/obo/WBPhenotype_",
"XAO": "http://purl.obolibrary.org/obo/XAO_",
"XCO": "http://purl.obolibrary.org/obo/XCO_",
"XL": "http://purl.obolibrary.org/obo/XL_",
Expand Down
2 changes: 2 additions & 0 deletions registry/ontologies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,7 @@ ontologies:
ontology_purl: http://purl.obolibrary.org/obo/fypo.owl
products:
- {id: fypo.owl, ontology_purl: 'http://purl.obolibrary.org/obo/fypo.owl'}
- {id: fypo.obo, ontology_purl: 'http://purl.obolibrary.org/obo/fypo.obo'}
publications:
- {id: 'http://www.ncbi.nlm.nih.gov/pubmed/23658422', title: 'FYPO: The Fission
Yeast Phenotype Ontology.'}
Expand Down Expand Up @@ -2878,6 +2879,7 @@ ontologies:
id: wbphenotype
layout: ontology_detail
ontology_purl: http://purl.obolibrary.org/obo/wbphenotype.owl
preferredPrefix: WBPhenotype
products:
- {id: wbphenotype.owl, ontology_purl: 'http://purl.obolibrary.org/obo/wbphenotype.owl'}
- {id: wbphenotype.obo, ontology_purl: 'http://purl.obolibrary.org/obo/wbphenotype.obo'}
Expand Down

0 comments on commit 27c66d3

Please sign in to comment.