@@ -195,8 +195,8 @@ def setValue(self, obj):
195195
196196class ParameterFixedTable (Parameter ):
197197
198- def __init__ (self , name = '' , description = '' , cols = [ 'value' ] ,
199- numRows = 3 , fixedNumOfRows = False ):
198+ def __init__ (self , name = '' , description = '' , numRows = 3 ,
199+ cols = [ 'value' ] , fixedNumOfRows = False ):
200200 Parameter .__init__ (self , name , description )
201201 self .cols = cols
202202 if isinstance (cols , basestring ):
@@ -244,7 +244,7 @@ class ParameterMultipleInput(ParameterDataObject):
244244
245245 def __init__ (self , name = '' , description = '' , datatype = - 1 , optional = False ):
246246 ParameterDataObject .__init__ (self , name , description )
247- self .datatype = int (datatype )
247+ self .datatype = int (float ( datatype ) )
248248 self .optional = parseBool (optional )
249249 self .value = None
250250 self .exported = None
@@ -502,7 +502,7 @@ def setValue(self, n):
502502 return True
503503 except :
504504 return False
505-
505+
506506
507507class ParameterString (Parameter ):
508508
0 commit comments