diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9bd14e6..93dfeb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 + rev: v0.8.6 hooks: - id: ruff - repo: https://github.com/psf/black @@ -25,7 +25,7 @@ repos: hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.1 hooks: - id: mypy additional_dependencies: diff --git a/brainglobe_registration/napari.yaml b/brainglobe_registration/napari.yaml index bbb97f1..80d2a2a 100644 --- a/brainglobe_registration/napari.yaml +++ b/brainglobe_registration/napari.yaml @@ -10,7 +10,7 @@ contributions: title: Sample Data sample_data: - command: brainglobe-registration.load_sample - display_name: Sample Data + display_name: 2D coronal mouse brain section key: example widgets: - command: brainglobe-registration.make_registration_widget diff --git a/brainglobe_registration/sample_data.py b/brainglobe_registration/sample_data.py index 9a9656b..06f2be7 100644 --- a/brainglobe_registration/sample_data.py +++ b/brainglobe_registration/sample_data.py @@ -18,4 +18,4 @@ def load_sample_data() -> List[LayerData]: files("brainglobe_registration").joinpath("resources/sample_hipp.tif") ) - return [(imread(path), {"name": "Sample Data"})] + return [(imread(path), {"name": "2D coronal mouse brain section"})]