We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf8999 commit d4f5d9eCopy full SHA for d4f5d9e
src/imcflibs/imagej/bdv.py
@@ -733,13 +733,9 @@ def check_processing_input(value, range_end):
733
)
734
if type(range_end) is int:
735
if type(value[0]) is not int:
736
- raise TypeError(
737
- "Invalid input type. Expected an int for the range start"
738
- )
+ raise TypeError("Range start needs to be an int.")
739
elif len(value) != 1:
740
- raise ValueError(
741
- "Invalid input type. Expected a single number for the range start"
742
+ raise ValueError("Range start needs to be single number.")
743
else:
744
return "range"
745
elif len(value) == 1:
0 commit comments