You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "tests/createlayer.py", line 25, in
layer.interger = "1.2"
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/descriptor.py", line 133, in set
v = self.preprocess(value, obj)
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/processors.py", line 34, in call
return self.process(value, obj)
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/processors.py", line 93, in process
return self.cast_type(value)
ValueError: invalid literal for int() with base 10: 'abcd'
The text was updated successfully, but these errors were encountered:
Title
default paramater of Float/IntegerParameter can be initialized incorrectly
Steps to reproduce
Current behavior (incorrect)
[SPiRA] Version 0.1.1-Auron [Beta] - MIT License
Expected behavior (correct)
Traceback (most recent call last):
File "tests/createlayer.py", line 25, in
layer.interger = "1.2"
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/descriptor.py", line 133, in set
v = self.preprocess(value, obj)
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/processors.py", line 34, in call
return self.process(value, obj)
File "/home/johannes/Documents/latestspira 17jul/spira-master/spira/core/parameters/processors.py", line 93, in process
return self.cast_type(value)
ValueError: invalid literal for int() with base 10: 'abcd'
The text was updated successfully, but these errors were encountered: