Skip to content

Commit

Permalink
Issue #15: Add a CTAKES implementation
Browse files Browse the repository at this point in the history
Use the current URL for downloading HPO
  • Loading branch information
sdumitriu committed May 21, 2017
1 parent aae4f6a commit 0eacefc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ public Map<String, Object> reindex()
{
synchronized (CTakesAnnotationService.class) {
try {
URL url = new URL("https://compbio.charite.de/jenkins/job/hpo/lastStableBuild/artifact/hp/hp.owl");
URL url =
new URL("https://raw.githubusercontent.com/obophenotype/human-phenotype-ontology/master/hp.owl");
Path temp = Files.createTempFile("hpoLoad", ".owl");
FileUtils.copyURLToFile(url, temp.toFile());
CTakesLoader loader = new CTakesLoader(temp.toFile().toString(), this.indexDirectory);
Expand Down

0 comments on commit 0eacefc

Please sign in to comment.