<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tilo/backend/tolData/eol, branch main</title>
<subtitle>Tilo: Interactive Tree of Life</subtitle>
<id>https://terryt.dev/cgit/tilo/atom?h=main</id>
<link rel='self' href='https://terryt.dev/cgit/tilo/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/'/>
<updated>2022-09-11T05:04:14+00:00</updated>
<entry>
<title>Add backend unit tests</title>
<updated>2022-09-11T05:04:14+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-11T04:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5de5fb93e50fe9006221b30ac4a66f1be0db82e7'/>
<id>urn:sha1:5de5fb93e50fe9006221b30ac4a66f1be0db82e7</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Add python type annotations</title>
<updated>2022-09-07T01:37:37+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-07T01:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=daccbbd9c73a5292ea9d6746560d7009e5aa666d'/>
<id>urn:sha1:daccbbd9c73a5292ea9d6746560d7009e5aa666d</id>
<content type='text'>
Also use consistent quote symbols
Also use 'is None' instead of '== None'
Also use 'if list1' instead of 'if len(list1) &gt; 0'
</content>
</entry>
<entry>
<title>Add scripts for generating eol/enwiki mappings</title>
<updated>2022-08-30T02:27:42+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-30T02:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=e8e58a3bb9dc233dacf573973457c5b48d369503'/>
<id>urn:sha1:e8e58a3bb9dc233dacf573973457c5b48d369503</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Use argparse in python scripts</title>
<updated>2022-08-20T03:16:21+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-20T03:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=930c12d33e1093f874a4beb4d6376621e464e8c0'/>
<id>urn:sha1:930c12d33e1093f874a4beb4d6376621e464e8c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update backend documentation</title>
<updated>2022-07-11T03:19:18+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-11T03:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=7a28e15874796b3becf97c0193575d906d0cfd01'/>
<id>urn:sha1:7a28e15874796b3becf97c0193575d906d0cfd01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make backend dev server script serve the image files</title>
<updated>2022-07-10T15:54:08+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-10T15:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d'/>
<id>urn:sha1:5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d</id>
<content type='text'>
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.
</content>
</entry>
</feed>
