Skip to content

Commit

Permalink
bg-atlasapi -> brainglobe-atlasapi (#169)
Browse files Browse the repository at this point in the history
* bg-atlasapi -> brainglobe-atlasapi

* Update pyproject.toml

* Linting pass

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
willGraham01 and pre-commit-ci[bot] committed Feb 26, 2024
1 parent 220ae49 commit 562ebaa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion brainglobe_segmentation/atlas/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def structure_from_viewer(coordinates, atlas_layer, atlas):
Layer, which contains the annotation / region
information for every structure in the (registered)
atlas
atlas : Brainglobe atlas (bg_atlasapi.bg_atlas.BrainGlobeAtlas)
atlas : Brainglobe atlas
(brainglobe_atlasapi.bg_atlas.BrainGlobeAtlas)
Returns
-------
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers = [
]
requires-python = ">=3.9"
dependencies = [
"bg-atlasapi",
"brainglobe-atlasapi >=2.0.1",
"brainglobe-napari-io >=0.3.0",
"brainglobe-utils >=0.4.0",
"napari >=0.4.5",
Expand Down Expand Up @@ -80,9 +80,11 @@ line-length = 79
[tool.ruff]
line-length = 79
exclude = ["__init__.py", "build", ".eggs"]
select = ["I", "E", "F"]
fix = true

[tool.ruff.lint]
select = ["I", "E", "F"]

[tool.tox]
legacy_tox_ini = """
# For more information about tox, see https://tox.readthedocs.io/en/latest/
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

import pytest
from bg_atlasapi import BrainGlobeAtlas
from brainglobe_atlasapi import BrainGlobeAtlas

from brainglobe_segmentation.segment import SegmentationWidget

Expand Down

0 comments on commit 562ebaa

Please sign in to comment.