Skip to content

Commit bd080ef

Browse files
authored
Release v0.2.0, common name strategy update (#26)
* Deterministic common names, English prioritized; get names for higher ranks as well; convert common names tooling to Polars * Modularize helper functions * Test common name functionality * Run tests with Actions workflow * Address issues identified running on real data * Dry code; sync tests * Set v0.2.0 release metadata
1 parent b97ef06 commit bd080ef

6 files changed

Lines changed: 944 additions & 80 deletions

File tree

.github/workflows/run-tests.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: run-tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
run-tests:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.10", "3.11", "3.12", "3.13"]
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: install dependencies
24+
run: pip install .[dev]
25+
shell: bash
26+
27+
- name: run Ruff linter
28+
run: ruff check .
29+
shell: bash
30+
31+
- name: run test
32+
run: pytest -rs
33+
shell: bash

.zenodo.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"creators": [
3+
{
4+
"name": "Thompson, Matthew J.",
5+
"orcid": "0000-0003-0583-8585"
6+
},
7+
{
8+
"name": "Campolongo, Elizabeth G.",
9+
"orcid": "0000-0003-0846-2413"
10+
},
11+
{
12+
"name": "Lapp, Hilmar",
13+
"orcid": "0000-0001-9107-0714"
14+
},
15+
{
16+
"name": "Gu, Jianyang",
17+
"orcid": "0000-0002-4060-7427"
18+
}
19+
],
20+
"description": "A Python package for efficiently aligning organismal taxonomic hierarchies using the Global Names Verifier.",
21+
"keywords": [
22+
"imageomics",
23+
"taxonomy",
24+
"taxonomic resolution",
25+
"tree of life",
26+
"alignment",
27+
"hierarchy"
28+
],
29+
"license": {
30+
"id": "MIT"
31+
},
32+
"publication_date": "2026-02-12",
33+
"title": "TaxonoPy",
34+
"version": "0.2.0",
35+
"grants": [
36+
{
37+
"id": "021nxhr62::2118240"
38+
}
39+
]
40+
}

CITATION.cff

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@ authors:
66
- family-names: "Campolongo"
77
given-names: "Elizabeth G."
88
orcid: "https://orcid.org/0000-0003-0846-2413"
9+
- family-names: "Lapp"
10+
given-names: "Hilmar"
11+
orcid: "https://orcid.org/0000-0001-9107-0714"
12+
- family-names: "Gu"
13+
given-names: "Jianyang"
14+
orcid: "https://orcid.org/0000-0002-4060-7427"
915
cff-version: 1.2.0
10-
date-released: "2025-05-23"
16+
date-released: "2026-02-12"
1117
identifiers:
12-
- description: "The GitHub release URL of tag v0.1.0-beta."
18+
- description: "The GitHub release URL of tag v0.2.0."
1319
type: url
14-
value: "https://github.com/Imageomics/TaxonoPy/releases/tag/v0.1.0-beta"
15-
- description: "The GitHub URL of the commit tagged with v0.1.0-beta"
20+
value: "https://github.com/Imageomics/TaxonoPy/releases/tag/v0.2.0"
21+
- description: "The GitHub URL of the commit tagged with v0.2.0"
1622
type: url
17-
value: "https://github.com/Imageomics/TaxonoPy/tree/b3ddeb8eb05d09c15c417ce2d2a4354a2a6fa49d"
23+
value: "https://github.com/Imageomics/TaxonoPy/tree/<update-after-release>"
1824
keywords:
1925
- imageomics
2026
- taxonomy
@@ -25,19 +31,19 @@ keywords:
2531
references:
2632
- type: software
2733
title: "GNverifier -- a reconciler and resolver of scientific names against more than 100 data sources."
28-
version: "v1.2.2"
34+
version: "v1.2.5"
2935
authors:
3036
- family-names: "Mozzherin"
3137
given-names: "Dmitry"
3238
orcid: "https://orcid.org/0000-0003-1593-1417"
3339
repository-code: "https://github.com/gnames/gnverifier"
34-
date-released: "2024-11-04"
35-
doi: 10.5281/zenodo.10070488
40+
date-released: "2025-04-02"
41+
doi: 10.5281/zenodo.5111542
3642
license: MIT
3743
license: MIT
3844
message: "If you use this software, please cite it using the metadata from this file."
3945
repository-code: "https://github.com/Imageomics/TaxonoPy"
4046
title: "TaxonoPy"
41-
version: "0.1.0-beta"
47+
version: "0.2.0"
4248
doi: "10.5281/zenodo.15499454"
4349
type: software

src/taxonopy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
the TreeOfLife (TOL) dataset.
66
"""
77

8-
__version__ = "0.1.0b0"
8+
__version__ = "0.2.0"
99

1010
from taxonopy.types.data_classes import (
1111
ResolutionStatus,

0 commit comments

Comments
 (0)