aboutsummaryrefslogtreecommitdiff
path: root/backend/tolData/dbpedia
AgeCommit message (Collapse)Author
2022-09-11Add backend unit testsTerry Truong
- Add unit testing code in backend/tests/ - Change to snake-case for script/file/directory names - Use os.path.join() instead of '/' - Refactor script code into function defs and a main-guard - Make global vars all-caps Some fixes: - For getting descriptions, some wiki redirects weren't properly resolved - Linked images were sub-optimally propagated - Generation of reduced trees assumed a wiki-id association implied a description - Tilo.py had potential null dereferences by not always using a reduced node set - EOL image downloading didn't properly wait for all threads to end when finishing
2022-09-07Add python type annotationsTerry Truong
Also use consistent quote symbols Also use 'is None' instead of '== None' Also use 'if list1' instead of 'if len(list1) > 0'
2022-08-30Add scripts for generating eol/enwiki mappingsTerry Truong
- New data sources: OTOL taxonomy, EOL provider-ids, Wikidata dump - Add 'node_iucn' table - Remove 'redirected' field from 'wiki_ids' table - Make 'eol_ids' table have 'name' as the primary key - Combine name-generation scripts into genNameData.py - Combine description-generation scripts into genDescData.py
2022-08-20Use argparse in python scriptsTerry Truong
2022-07-11Update backend documentationTerry Truong
2022-07-11Make backend dev server script serve the image filesTerry Truong
Previously, image files in backend/data/img were moved to, or symlinked from, public/. This needed to be changed before each build, otherwise vite would end up copying gigabytes of images.