-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Commented out AberOWL, as it's outdated and contains some weirdness in concept attributes - Changed WebProtégé link to the "dev" version - Added notes on what versions are displayed
- Loading branch information
1 parent
e0c46af
commit d127208
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -472,13 +472,13 @@ function interactive_edam_browser(){ | |
if(uri.startsWith("http://edamontology.org/")){ | ||
append_row(community,"Links", | ||
"Open in "+ | ||
"<a target=\"_blank\" href=\"http://aber-owl.net/ontology/EDAM/#/Browse/%3Chttp%3A%2F%2Fedamontology.org%2F"+identifier+"%3E\">AberOWL</a>"+ | ||
/*"<a target=\"_blank\" href=\"http://aber-owl.net/ontology/EDAM/#/Browse/%3Chttp%3A%2F%2Fedamontology.org%2F"+identifier+"%3E\">AberOWL</a>"+ | ||
", "+*/ | ||
"<a target=\"_blank\" href=\"http://bioportal.bioontology.org/ontologies/EDAM/?p=classes&conceptid="+uri+"\">BioPortal</a> (newest \"unstable\")"+ | ||
", "+ | ||
"<a target=\"_blank\" href=\"http://bioportal.bioontology.org/ontologies/EDAM/?p=classes&conceptid="+uri+"\">BioPortal</a>"+ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bryan-brancotte
Member
|
||
", "+ | ||
"<a target=\"_blank\" href=\"https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2F"+identifier+"\">OLS</a>"+ | ||
"<a target=\"_blank\" href=\"https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2F"+identifier+"\">OLS</a> (latest stable)"+ | ||
" or "+ | ||
"<a target=\"_blank\" href=\"https://webprotege.stanford.edu/#projects/98640503-a37d-4404-84da-caf30fadd685/edit/Classes?selection=Class(%3Chttp://edamontology.org/"+identifier+"%3E)\">WebProtégé</a>"+ | ||
"<a target=\"_blank\" href=\"https://webprotege.stanford.edu/#projects/4befad5f-f27b-430c-a07d-fcf635093169/edit/Classes?selection=Class(%3Chttp://edamontology.org/"+identifier+"%3E)\">WebProtégé</a> (dev)"+ | ||
This comment has been minimized.
Sorry, something went wrong.
matuskalas
Author
Member
|
||
".","Links to this concept in other ontology browsers"); | ||
} | ||
if (community.children().length>0){ | ||
|
@@ -922,4 +922,4 @@ window.cpyToClipboard = function cpyToClipboard(value){ | |
}, 1000); | ||
} | ||
|
||
export {getInitURI,interactive_edam_browser,getTreeFile} | ||
export {getInitURI,interactive_edam_browser,getTreeFile} |
Wouldn't it be better here to insert
identifier
instead ofuri
?I remember there was a problem with many web browsers and OSs with double-escaping (worked on Win), is it solved now when having
uri
instead of the escaped hardcoded URI prefix?Idea for the future: Read the (BioPortal/OLS) abbreviation from the .owl file, and use that in the BioPortal & OLS links for any ontology. WebProtégé "dev" link too 😉