diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-04-27 00:29:20 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-04-27 01:38:04 +1000 |
| commit | 6f52cd6b07970010c40270003d63aa74f84f6ae9 (patch) | |
| tree | f23c0a9ebc50db89463621516ab643d5c76c1590 /backend/data/otolToSqlite.py | |
| parent | 55e281a57c2ac9acb18836ea7a48f5a553d924e2 (diff) | |
Use EOL vernacular-names data for searching
Add data/eolNamesToSqlite.py to read EOL vernacular-names data and add
to sqlite db. Adjust server.py to handle search requests, and adjust
SearchModal to make them.
Diffstat (limited to 'backend/data/otolToSqlite.py')
| -rwxr-xr-x | backend/data/otolToSqlite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data/otolToSqlite.py b/backend/data/otolToSqlite.py index 93ed294..2ee47b7 100755 --- a/backend/data/otolToSqlite.py +++ b/backend/data/otolToSqlite.py @@ -29,7 +29,7 @@ if len(sys.argv) > 1: treeFile = "otol/labelled_supertree_ottnames.tre" annFile = "otol/annotations.json" -dbFile = "otol.db" +dbFile = "data.db" nodeMap = {} # Maps node names to node objects idToName = {} # Maps node IDs to names |
