Skip to content

Commit

Permalink
Add links from terms to Ontologies
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Oct 17, 2024
1 parent e0cfb42 commit f8ceade
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/JsonValidator/RoCrate/RoCrateValidator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@
<li>
<strong>Organism:</strong>
{#if organismId}
{@html warningSymbols.OK } {organismId} {organismName}
{@html warningSymbols.OK }
<a href="https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=info&id={organismId.replace("NCBI:txid", "")}" target="_blank">
{organismId}
</a>
{organismName}
{:else}
{@html warningSymbols.SUGGESTED } Not found
{/if}
Expand All @@ -84,7 +89,11 @@
<li>
<strong>Imaging method:</strong>
{#if fbbiId}
{@html warningSymbols.OK } {fbbiId} {imagingMethod}
{@html warningSymbols.OK }
<a href="https://ontobee.org/ontology/FBbi?iri=http://purl.obolibrary.org/obo/FBbi_{fbbiId.replace("obo:FBbi_", "")}" target="_blank">
{fbbiId}
</a>
{imagingMethod}
{:else}
{@html warningSymbols.SUGGESTED } Not found
{/if}
Expand Down

0 comments on commit f8ceade

Please sign in to comment.