Skip to content

Commit

Permalink
Update download-neo4j.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benstear authored Nov 15, 2023
1 parent 028db01 commit 0308902
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/download-neo4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
run: |
mv import/*.csv /var/lib/neo4j/import/;
ls /var/lib/neo4j/import/;
- name: Build Petagraph
run: |
rm -rf data/databases/*
rm -rf data/transactions/*
bin/neo4j-admin import --verbose --nodes=Semantic="import/TUIs.csv" --nodes=Concept="import/CUIs.csv" --nodes=Code="import/CODEs.csv" --nodes=Term="import/SUIs.csv" --nodes=Definition="import/DEFs.csv" --relationships=ISA_STY="import/TUIrel.csv" --relationships=STY="import/CUI-TUIs.csv" --relationships="import/CUI-CUIs.csv" --relationships=CODE="import/CUI-CODEs.csv" --relationships="import/CODE-SUIs.csv" --relationships=PREF_TERM="import/CUI-SUIs.csv" --relationships=DEF="import/DEFrel.csv" --skip-bad-relationships --skip-duplicate-nodes
neo4j start

0 comments on commit 0308902

Please sign in to comment.