Skip to content

Commit

Permalink
fix: use direct liquid assign expressions and remove redundant biopor…
Browse files Browse the repository at this point in the history
…tal browser links
  • Loading branch information
jsstevenson committed Nov 25, 2024
1 parent b6c78bc commit 26b93f9
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 69 deletions.
28 changes: 27 additions & 1 deletion _layouts/ontology_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,33 @@ <h1>
<a href="http://www.ebi.ac.uk/ols/ontologies/{{page.id}}" class="btn btn-outline-primary" target="_blank" rel="noopener">
OLS
</a>
<a href="https://bioportal.bioontology.org/ontologies/{{ page.id | make_bioportal_id }}" class="btn btn-outline-primary" target="_blank" rel="noopener">
{% assign bioportal_id = page.id | upcase %}
{% if bioportal_id == 'FBBT' %}
{% assign bioportal_id = 'FB-BT' %}
{% elsif bioportal_id == 'ro' %}
{% assign bioportal_id = 'OBOREL' %}
{% elsif bioportal_id == 'apollo_sv' %}
{% assign bioportal_id = 'APOLLO-SV' %}
{% elsif bioportal_id == 'trans' %}
{% assign bioportal_id = 'PTRANS' %}
{% elsif bioportal_id == 'wbls' %}
{% assign bioportal_id = 'WB-LS' %}
{% elsif bioportal_id == 'fbdv' %}
{% assign bioportal_id = 'FB-DV' %}
{% elsif bioportal_id == 'wbbt' %}
{% assign bioportal_id = 'WB-BT' %}
{% elsif bioportal_id == 'wbphenotype' %}
{% assign bioportal_id = 'WB-PHENOTYPE' %}
{% elsif bioportal_id == 'to' %}
{% assign bioportal_id = 'PTO' %}
{% elsif bioportal_id == 'fbcv' %}
{% assign bioportal_id = 'FB-CV' %}
{% elsif bioportal_id == 'umod' %}
{% assign bioportal_id = 'PSIMOD' %}
{% elsif bioportal_id == 'pso' %}
{% assign bioportal_id = 'PLANTSO' %}
{% endif %}
<a href="https://bioportal.bioontology.org/ontologies/{{ bioportal_id }}" class="btn btn-outline-primary" target="_blank" rel="noopener">
BioPortal
</a>
{% for b in page.browsers %}
Expand Down
28 changes: 0 additions & 28 deletions _plugins/bioportal_identifier.rb

This file was deleted.

4 changes: 0 additions & 4 deletions ontology/bfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: bfo
title: Basic Formal Ontology
browsers:
- title: BioPortal Browser
label: BioPortal
url: http://bioportal.bioontology.org/ontologies/BFO?p=classes
contact:
email: [email protected]
github: phismith
Expand Down
3 changes: 0 additions & 3 deletions ontology/fbbt.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ browsers:
- title: Virtual Fly Brain
label: VFB
url: http://www.virtualflybrain.org/site/stacks/index.htm?add=FBbt:00007401
- title: BioPortal Browser
label: BioPortal
url: http://bioportal.bioontology.org/ontologies/FB-BT?p=classes
build:
checkout: git clone https://github.com/FlyBase/drosophila-anatomy-developmental-ontology.git
path: .
Expand Down
3 changes: 0 additions & 3 deletions ontology/kisao.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ browsers:
- title: Ontology Lookup Service
label: OLS
url: https://www.ebi.ac.uk/ols/ontologies/kisao
- title: BioPortal
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/KISAO
- title: OntoBee
label: OntoBee
url: https://www.ontobee.org/ontology/KISAO
Expand Down
4 changes: 0 additions & 4 deletions ontology/nbo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: nbo
title: Neuro Behavior Ontology
browsers:
- title: BioPortal Ontology Browser
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/NBO
build:
method: owl2obo
source_url: https://raw.githubusercontent.com/obo-behavior/behavior-ontology/master/nbo.owl
Expand Down
4 changes: 0 additions & 4 deletions ontology/obi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: obi
title: Ontology for Biomedical Investigations
browsers:
- title: BioPortal Browser
label: BioPortal
url: http://bioportal.bioontology.org/ontologies/OBI?p=classes
build:
source_url: http://purl.obofoundry.org/obo/obi/repository/trunk/src/ontology/branches/
contact:
Expand Down
4 changes: 0 additions & 4 deletions ontology/occo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: occo
title: Occupation Ontology
browsers:
- title: BioPortal Ontology Browser
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/OCCO?p=classes
contact:
email: [email protected]
github: zhengj2007
Expand Down
4 changes: 0 additions & 4 deletions ontology/ontoneo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: ontoneo
title: Obstetric and Neonatal Ontology
browsers:
- title: BioPortal Browser
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/ONTONEO
build:
source_url: http://purl.obolibrary.org/obo/ontoneo/ontoneo.owl
contact:
Expand Down
4 changes: 0 additions & 4 deletions ontology/pato.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: pato
title: Phenotype And Trait Ontology
browsers:
- title: BioPortal Ontology Browser
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/PATO
contact:
email: [email protected]
github: gkoutos
Expand Down
3 changes: 0 additions & 3 deletions ontology/pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ layout: ontology_detail
id: pr
title: PRotein Ontology (PRO)
browsers:
- title: BioPortal Browser
label: BioPortal
url: http://bioportal.bioontology.org/ontologies/PR?p=classes&conceptid=http://purl.obolibrary.org/obo/PR_000000001
- title: PRO Home
label: PRO
url: http://proconsortium.org
Expand Down
4 changes: 0 additions & 4 deletions ontology/slso.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
layout: ontology_detail
id: slso
title: Space Life Sciences Ontology
browsers:
- title: BioPortal Ontology Browser
label: BioPortal
url: https://bioportal.bioontology.org/ontologies/SLSO
contact:
email: [email protected]
github: DanBerrios
Expand Down
3 changes: 0 additions & 3 deletions ontology/txpo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ layout: ontology_detail
id: txpo
title: Toxic Process Ontology
browsers:
- title: BioPortal Browser
label: BioPortal
url: http://bioportal.bioontology.org/ontologies/TXPO?p=classes
- title: TOXPILOT
label: TOXPILOT
url: https://toxpilot.nibiohn.go.jp/
Expand Down

0 comments on commit 26b93f9

Please sign in to comment.