Skip to content

Commit

Permalink
🔖 Release 0.72.0
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed May 19, 2024
1 parent 9a97591 commit cd9c554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lamindb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"""

# denote a release candidate for 0.1.0 with 0.1rc1, 0.1a1, 0.1b1, etc.
__version__ = "0.72a1"
__version__ = "0.72.0"

import os as _os

Expand Down
3 changes: 2 additions & 1 deletion lamindb/_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from lnschema_core.types import FieldAttr

FEATURE_TYPES = {
"number": "number",
"int": "int",
"float": "float",
"bool": "bool",
Expand Down Expand Up @@ -68,7 +69,7 @@ def __init__(self, *args, **kwargs):
"cat"
):
raise ValueError(
"dtype has to be one of 'number', 'cat', 'bool', 'cat[...]'!"
f"dtype is {dtype_str} but has to be one of 'number', 'int', 'float', 'cat', 'bool', 'cat[...]'!"
)
if dtype_str != "cat" and dtype_str.startswith("cat"):
registries_str = dtype_str.replace("cat[", "").rstrip("]")
Expand Down

0 comments on commit cd9c554

Please sign in to comment.