Skip to content

Commit

Permalink
build: update dependencies and context for ROBOT jar
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuralFlux committed Jul 17, 2024
1 parent e4bb786 commit 9db1cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Module for expanding terms to children.
pnpm i @biothings-explorer/node-expansion
```

### Dependencies
1. Java 11+ (to run `robot.jar`)

## Usage

- by default, the module will expand terms to all descendants
Expand Down
1 change: 1 addition & 0 deletions src/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ for (let ontology of Object.values(ONTOLOGIES)) {
console.log(`Done downloading ${url} with code ${code}`);

// use robot to convert owl to json
// http://robot.obolibrary.org/
child_process.execSync(
`../robot convert -i ../data/${ontology.name}.owl --format json -o ../data/${ontology.name}.json`,
);
Expand Down

0 comments on commit 9db1cf4

Please sign in to comment.