Skip to content

Commit 38cfac6

Browse files
committed
fix paths
1 parent a62d82b commit 38cfac6

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ predict = "volara-torch.blockwise.predict:Predict"
3232

3333
[tool.uv.sources]
3434
volara = { git = "https://github.com/e11bio/volara" }
35+
36+
[tool.ruff]
37+
lint.select = ["F", "W", "I001"]

src/volara-torch/blockwise/predict.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
from funlib.persistence import Array
1212
from gunpowder import ArrayKey, Batch, BatchProvider
1313
from pydantic import Field
14+
from volara.blockwise import BlockwiseTask
15+
from volara.datasets import LSD, Affs, Dataset, Raw
16+
from volara.utils import PydanticCoordinate
1417

15-
from ..datasets import LSD, Affs, Dataset, Raw
1618
from ..models import Model, TorchModel
17-
from ..utils import PydanticCoordinate
18-
from .blockwise import BlockwiseTask
1919

2020
logger = logging.getLogger(__file__)
2121

tests/test_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import numpy as np
22
import pytest
33
import torch
4-
5-
from volara.models import TorchModel
4+
from volara_torch.models import TorchModel
65

76

87
@pytest.mark.parametrize("save_type", ["jit", "pickle"])

0 commit comments

Comments
 (0)