diff --git a/brainrender/atlas.py b/brainrender/atlas.py index 008c96f5..4ff979bb 100644 --- a/brainrender/atlas.py +++ b/brainrender/atlas.py @@ -1,5 +1,5 @@ import numpy as np -from bg_atlasapi.bg_atlas import BrainGlobeAtlas +from brainglobe_atlasapi.bg_atlas import BrainGlobeAtlas from loguru import logger from vedo import Plane diff --git a/brainrender/render.py b/brainrender/render.py index 8d94c468..c23335f9 100644 --- a/brainrender/render.py +++ b/brainrender/render.py @@ -115,7 +115,7 @@ def _prepare_actor(self, actor): """ When an actor is first rendered, a transform matrix is applied to its points to correct axes orientation - mismatches: https://github.com/brainglobe/bg-atlasapi/issues/73 + mismatches: https://github.com/brainglobe/brainglobe-atlasapi/issues/73 Once an actor is 'corrected' it spawns labels and silhouettes as needed """ diff --git a/pyproject.toml b/pyproject.toml index 18647d72..20c4e195 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires-python = ">=3.9.0" dynamic = ["version"] dependencies = [ - "bg-atlasapi>=1.0.0", + "brainglobe-atlasapi>=2.0.1", "brainglobe-space>=1.0.0", "h5py", "imio", @@ -106,10 +106,11 @@ ignore = [ [tool.ruff] line-length = 79 exclude = ["__init__.py", "build", ".eggs", "examples"] -select = ["I", "E", "F"] fix = true ignore = ["E501", "E402"] +[tool.ruff.lint] +select = ["I", "E", "F"] [tool.tox] legacy_tox_ini = """