Skip to content

Commit 562ebaa

Browse files
bg-atlasapi -> brainglobe-atlasapi (#169)
* 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>
1 parent 220ae49 commit 562ebaa

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

brainglobe_segmentation/atlas/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def structure_from_viewer(coordinates, atlas_layer, atlas):
3636
Layer, which contains the annotation / region
3737
information for every structure in the (registered)
3838
atlas
39-
atlas : Brainglobe atlas (bg_atlasapi.bg_atlas.BrainGlobeAtlas)
39+
atlas : Brainglobe atlas
40+
(brainglobe_atlasapi.bg_atlas.BrainGlobeAtlas)
4041
4142
Returns
4243
-------

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
]
1919
requires-python = ">=3.9"
2020
dependencies = [
21-
"bg-atlasapi",
21+
"brainglobe-atlasapi >=2.0.1",
2222
"brainglobe-napari-io >=0.3.0",
2323
"brainglobe-utils >=0.4.0",
2424
"napari >=0.4.5",
@@ -80,9 +80,11 @@ line-length = 79
8080
[tool.ruff]
8181
line-length = 79
8282
exclude = ["__init__.py", "build", ".eggs"]
83-
select = ["I", "E", "F"]
8483
fix = true
8584

85+
[tool.ruff.lint]
86+
select = ["I", "E", "F"]
87+
8688
[tool.tox]
8789
legacy_tox_ini = """
8890
# For more information about tox, see https://tox.readthedocs.io/en/latest/

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from pathlib import Path
33

44
import pytest
5-
from bg_atlasapi import BrainGlobeAtlas
5+
from brainglobe_atlasapi import BrainGlobeAtlas
66

77
from brainglobe_segmentation.segment import SegmentationWidget
88

0 commit comments

Comments
 (0)