From 19ff1992480de7e941ffbc380d8a13375e7da52c Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Wed, 1 Nov 2023 16:41:06 +0000 Subject: [PATCH] Rename to brainglobe-registration (#16) --- README.md | 24 +++++++++---------- setup.cfg | 14 +++++------ .../__init__.py | 0 .../_tests/__init__.py | 0 .../_tests/test_widget.py | 0 .../_widget.py | 0 .../elastix/__init__.py | 0 .../elastix/register.py | 0 .../napari.yaml | 8 +++---- 9 files changed, 23 insertions(+), 23 deletions(-) rename src/{bg_elastix => brainglobe_registration}/__init__.py (100%) rename src/{bg_elastix => brainglobe_registration}/_tests/__init__.py (100%) rename src/{bg_elastix => brainglobe_registration}/_tests/test_widget.py (100%) rename src/{bg_elastix => brainglobe_registration}/_widget.py (100%) rename src/{bg_elastix => brainglobe_registration}/elastix/__init__.py (100%) rename src/{bg_elastix => brainglobe_registration}/elastix/register.py (100%) rename src/{bg_elastix => brainglobe_registration}/napari.yaml (50%) diff --git a/README.md b/README.md index 09b5d58..1219a7e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# bg-elastix +# brainglobe-registration -[![License BSD-3](https://img.shields.io/pypi/l/bg-elastix.svg?color=green)](https://github.com/brainglobe/bg-elastix/raw/main/LICENSE) -[![PyPI](https://img.shields.io/pypi/v/bg-elastix.svg?color=green)](https://pypi.org/project/bg-elastix) -[![Python Version](https://img.shields.io/pypi/pyversions/bg-elastix.svg?color=green)](https://python.org) -[![tests](https://github.com/brainglobe/bg-elastix/workflows/tests/badge.svg)](https://github.com/brainglobe/bg-elastix/actions) -[![codecov](https://codecov.io/gh/brainglobe/bg-elastix/branch/main/graph/badge.svg)](https://codecov.io/gh/brainglobe/bg-elastix) -[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/bg-elastix)](https://napari-hub.org/plugins/bg-elastix) +[![License BSD-3](https://img.shields.io/pypi/l/brainglobe-registration.svg?color=green)](https://github.com/brainglobe/brainglobe-registration/raw/main/LICENSE) +[![PyPI](https://img.shields.io/pypi/v/brainglobe-registration.svg?color=green)](https://pypi.org/project/brainglobe-registration) +[![Python Version](https://img.shields.io/pypi/pyversions/brainglobe-registration.svg?color=green)](https://python.org) +[![tests](https://github.com/brainglobe/brainglobe-registration/workflows/tests/badge.svg)](https://github.com/brainglobe/brainglobe-registration/actions) +[![codecov](https://codecov.io/gh/brainglobe/brainglobe-registration/branch/main/graph/badge.svg)](https://codecov.io/gh/brainglobe/brainglobe-registration) +[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/brainglobe-registration)](https://napari-hub.org/plugins/brainglobe-registration) Registration to a BrainGlobe atlas using Elastix @@ -23,15 +23,15 @@ https://napari.org/stable/plugins/index.html ## Installation -You can install `bg-elastix` via [pip]: +You can install `brainglobe-registration` via [pip]: - pip install bg-elastix + pip install brainglobe-registration To install latest development version : - pip install git+https://github.com/brainglobe/bg-elastix.git + pip install git+https://github.com/brainglobe/brainglobe-registration.git ## Contributing @@ -42,7 +42,7 @@ the coverage at least stays the same before you submit a pull request. ## License Distributed under the terms of the [BSD-3] license, -"bg-elastix" is free and open source software +"brainglobe-registration" is free and open source software ## Issues @@ -59,7 +59,7 @@ If you encounter any problems, please [file an issue] along with a detailed desc [Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt [cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin -[file an issue]: https://github.com/brainglobe/bg-elastix/issues +[file an issue]: https://github.com/brainglobe/brainglobe-registration/issues [napari]: https://github.com/napari/napari [tox]: https://tox.readthedocs.io/en/latest/ diff --git a/setup.cfg b/setup.cfg index 99317be..e7a52cb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [metadata] -name = bg-elastix +name = brainglobe-registration description = Registration to a BrainGlobe atlas using Elastix long_description = file: README.md long_description_content_type = text/markdown -url = https://github.com/brainglobe/bg-elastix +url = https://github.com/brainglobe/brainglobe-registration author = Adam Tyson author_email = code@adamltyson.com license = BSD-3-Clause @@ -23,10 +23,10 @@ classifiers = Programming Language :: Python :: 3.10 Topic :: Scientific/Engineering :: Image Processing project_urls = - Bug Tracker = https://github.com/brainglobe/bg-elastix/issues - Documentation = https://github.com/brainglobe/bg-elastix#README.md - Source Code = https://github.com/brainglobe/bg-elastix - User Support = https://github.com/brainglobe/bg-elastix/issues + Bug Tracker = https://github.com/brainglobe/brainglobe-registration/issues + Documentation = https://github.com/brainglobe/brainglobe-registration#README.md + Source Code = https://github.com/brainglobe/brainglobe-registration + User Support = https://github.com/brainglobe/brainglobe-registration/issues [options] packages = find: @@ -49,7 +49,7 @@ where = src [options.entry_points] napari.manifest = - bg-elastix = bg_elastix:napari.yaml + brainglobe-registration = brainglobe_registration:napari.yaml [options.extras_require] testing = diff --git a/src/bg_elastix/__init__.py b/src/brainglobe_registration/__init__.py similarity index 100% rename from src/bg_elastix/__init__.py rename to src/brainglobe_registration/__init__.py diff --git a/src/bg_elastix/_tests/__init__.py b/src/brainglobe_registration/_tests/__init__.py similarity index 100% rename from src/bg_elastix/_tests/__init__.py rename to src/brainglobe_registration/_tests/__init__.py diff --git a/src/bg_elastix/_tests/test_widget.py b/src/brainglobe_registration/_tests/test_widget.py similarity index 100% rename from src/bg_elastix/_tests/test_widget.py rename to src/brainglobe_registration/_tests/test_widget.py diff --git a/src/bg_elastix/_widget.py b/src/brainglobe_registration/_widget.py similarity index 100% rename from src/bg_elastix/_widget.py rename to src/brainglobe_registration/_widget.py diff --git a/src/bg_elastix/elastix/__init__.py b/src/brainglobe_registration/elastix/__init__.py similarity index 100% rename from src/bg_elastix/elastix/__init__.py rename to src/brainglobe_registration/elastix/__init__.py diff --git a/src/bg_elastix/elastix/register.py b/src/brainglobe_registration/elastix/register.py similarity index 100% rename from src/bg_elastix/elastix/register.py rename to src/brainglobe_registration/elastix/register.py diff --git a/src/bg_elastix/napari.yaml b/src/brainglobe_registration/napari.yaml similarity index 50% rename from src/bg_elastix/napari.yaml rename to src/brainglobe_registration/napari.yaml index 6a37c2f..e2cd2d1 100644 --- a/src/bg_elastix/napari.yaml +++ b/src/brainglobe_registration/napari.yaml @@ -1,10 +1,10 @@ -name: bg-elastix +name: brainglobe-registration display_name: BrainGlobe Elastix Registration contributions: commands: - - id: bg-elastix.register - python_name: bg_elastix._widget:register + - id: brainglobe-registration.register + python_name: brainglobe_registration._widget:register title: BrainGlobe Elastix Registration widgets: - - command: bg-elastix.register + - command: brainglobe-registration.register display_name: BrainGlobe Elastix Registration