Skip to content
Snippets Groups Projects
Commit 4dbeb107 authored by Flege, Patrick's avatar Flege, Patrick
Browse files

Updated HTTP URL of onthology file to HTTPS

parent 3b32a582
Branches
Tags
3 merge requests!260Release v4.3.3,!258Update URL for ontology endpoint,!257Draft: Updated the UTL for GO-Basic file
Pipeline #116377 failed
......@@ -318,7 +318,7 @@ public class AddFunctions {
boolean tigrfamDatabaseExists) {
if (!goDatabaseExists) {
try {
downloadDatabase(functionalDatabasesPath, "go-basic.obo", "http://purl.obolibrary.org/obo/go/go-basic.obo");
downloadDatabase(functionalDatabasesPath, "go-basic.obo", "https://purl.obolibrary.org/obo/go/go-basic.obo");
} catch (IOException e) {
Pantools.logger.error("Error while downloading GO database.");
}
......@@ -414,7 +414,7 @@ public class AddFunctions {
* @param go_id_node_id
*/
private void build_go_hierarchy(HashMap<String, Node> go_id_node_id, Path functionalDatabasesPath) {
Path goPath = functionalDatabasesPath.resolve("go-basic.obo");
Path goPath = functionalDatabasesPath.resolve("go-vi g.obo");
if (!goPath.toFile().exists()) {
Pantools.logger.debug("Could not find GO database at {}", goPath.toAbsolutePath());
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment