Skip to content

Commit 66eb49f

Browse files
committed
Add taxon loader and update simple.html for hierarchy management
- Implemented taxon_loader.py to load taxon hierarchy from hierarchy.json into the database. - Added functionality to skip loading if taxons already exist. - Updated simple.html to include a hierarchy browser and styles for better user experience. - Added modal for adding new species to taxon groups.
1 parent 487b830 commit 66eb49f

17 files changed

Lines changed: 48720 additions & 1395 deletions

.env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LAJI_API_ACCESS_TOKEN=xxx
22
LAJI_API_BASE_URL=https://api.laji.fi/warehouse/private-query/unit/list
3-
TARGET=KE.1721
3+
TARGET=KE.1761
44
LAJIAUTH_URL=https://fmnh-ws-test-24.it.helsinki.fi/laji-auth/
55
SECRET_TIMEOUT_PERIOD=10
66
SECRET_KEY=yyy

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
**/venv/**
22
**/__pycache__/**
3+
__pycache__
34
.env
5+
.env-prod
46

5-
**/results/**
6-
**/sampledata/**
77

8-
static/example-data.tsv
9-
config.py
10-
.env
8+
**/secret/**
119

12-
**/secret/**
10+
.github/instructions*
11+
TODO
12+
UHA_**
13+
test.csv
14+
taxon_hierarchy.py

0 commit comments

Comments
 (0)