-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added build cache example and fixed cache issue
- Loading branch information
Showing
3 changed files
with
38 additions
and
24 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/bin |
16 changes: 16 additions & 0 deletions
16
examples/src/org/wikipathways/webservice/BuildCacheExample.java
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.wikipathways.webservice; | ||
|
||
import java.io.File; | ||
import java.io.IOException; | ||
|
||
import org.pathvisio.core.model.ConverterException; | ||
import org.wikipathways.client.WikiPathwaysCache; | ||
|
||
public class BuildCacheExample { | ||
|
||
public static void main(String[] args) throws ConverterException, IOException { | ||
WikiPathwaysCache cache = new WikiPathwaysCache(new File("/home/martina/Downloads/cache/")); | ||
cache.update(); | ||
} | ||
|
||
} |
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