Skip to content

Commit 29a6380

Browse files
authored
merge conflicts II
1 parent bbccb4a commit 29a6380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/core/baseneo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _check_annotations(value):
3333
"""
3434
if isinstance(value, np.ndarray):
3535
if not issubclass(value.dtype.type, ALLOWED_ANNOTATION_TYPES):
36-
raise ValueError(f"Invalid annotation. NumPy arrays with dtype {value.dtype.type} "
36+
raise ValueError(f"Invalid annotation. NumPy arrays with dtype {value.dtype.type}"
3737
f"are not allowed")
3838
elif isinstance(value, dict):
3939
for element in value.values():
@@ -42,7 +42,7 @@ def _check_annotations(value):
4242
for element in value:
4343
_check_annotations(element)
4444
elif not isinstance(value, ALLOWED_ANNOTATION_TYPES):
45-
raise ValueError(f"Invalid annotation. Annotations of type {type(value)} are not "
45+
raise ValueError(f"Invalid annotation. Annotations of type {type(value)} are not"
4646
f"allowed")
4747

4848

0 commit comments

Comments
 (0)