Skip to content

Commit

Permalink
bugfix pyants
Browse files Browse the repository at this point in the history
  • Loading branch information
robert committed Aug 29, 2024
1 parent 1ffe7e4 commit 65c2249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ exclude = ["models", "examples"]
[tool.poetry.scripts]
spineps = 'spineps.entrypoint:entry_point'

spineps_ = 'spineps.entrypoint:entrypoint_no_checks'

[tool.poetry.dependencies]
python = "^3.10 || ^3.11"
connected-components-3d = "^3.12.3"
Expand All @@ -30,7 +32,7 @@ tqdm = "^4.66.1"
einops= "^0.6.1"
nnunetv2 = "2.4.2"
tptbox = "^0.1.4"
antspyx = "*"
antspyx = "0.4.2"
rich = "^13.6.0"


Expand Down
2 changes: 1 addition & 1 deletion spineps/seg_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class MetaEnum(EnumMeta):
def __contains__(cls, item): # noqa: N805
def __contains__(cls, item):
try:
cls[item]
except ValueError:
Expand Down

0 comments on commit 65c2249

Please sign in to comment.