Skip to content

Make fastremap optional via the fast extra - #74

Draft
bentaculum wants to merge 1 commit into
mainfrom
optional-fastremap
Draft

bentaculum wants to merge 1 commit into
mainfrom
optional-fastremap

Conversation

@bentaculum

Copy link
Copy Markdown
Member

Make fastremap optional so core Trackastra installations can work on platforms where it is unavailable, including conda-forge Linux ARM. Install trackastra[fast] to retain the accelerated backend; otherwise use the existing scikit-image relabeling path and NumPy unique-label detection. Includes a one-line README installation note and adds fast to the all extra.

Tests cover both backends, missing imports, dense/sparse mappings, unmapped labels, dtype preservation, and lazy Dask execution. CI now includes tracking utilities in core tests and reruns them with the fast extra installed.

Validation: 20 tracking tests passed; tests also passed with fastremap absent before installation (9 passed, 9 optional-backend skips). Wheel metadata confirms fastremap is only required by the fast extra. Ruff and commit hooks passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant