Skip to content

Commit 52b0653

Browse files
committed
revert un-nedded changes
1 parent cf996de commit 52b0653

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

funlib/geometry/roi.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,7 @@ def get_end(self) -> Coordinate:
148148

149149
@property
150150
def center(self) -> Coordinate:
151-
"""Get the center of this ROI rounded to nearest integer."""
152-
return self.__offset + self.__shape // 2
153-
154-
@property
155-
def true_center(self) -> Coordinate:
156-
"""Get the true center of this ROI with floating point division."""
151+
"""Get the center of this ROI."""
157152
return self.__offset + self.__shape / 2
158153

159154
def get_center(self) -> Coordinate:

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ classifiers = ["Programming Language :: Python :: 3"]
1818
keywords = []
1919
requires-python = ">=3.9"
2020

21-
dependencies = [
22-
"numpy>=2.0",
23-
]
21+
dependencies = []
2422

2523
[project.optional-dependencies]
2624
dev = ["pytest >= 7.4", "pytest-cov >= 4.1", "mypy >= 1.4", "ruff >= 0.6"]

0 commit comments

Comments
 (0)