Skip to content

Commit d4f5d9e

Browse files
committed
Automatic formatting
1 parent 2cf8999 commit d4f5d9e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/imcflibs/imagej/bdv.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -733,13 +733,9 @@ def check_processing_input(value, range_end):
733733
)
734734
if type(range_end) is int:
735735
if type(value[0]) is not int:
736-
raise TypeError(
737-
"Invalid input type. Expected an int for the range start"
738-
)
736+
raise TypeError("Range start needs to be an int.")
739737
elif len(value) != 1:
740-
raise ValueError(
741-
"Invalid input type. Expected a single number for the range start"
742-
)
738+
raise ValueError("Range start needs to be single number.")
743739
else:
744740
return "range"
745741
elif len(value) == 1:

0 commit comments

Comments
 (0)