Skip to content
Permalink
Browse files
[processing] fixed issues when loading parameters
  • Loading branch information
volaya committed Jul 22, 2014
1 parent f6bf4f1 commit 8e60f49
Showing 1 changed file with 4 additions and 4 deletions.
@@ -195,8 +195,8 @@ def setValue(self, obj):

class ParameterFixedTable(Parameter):

def __init__(self, name='', description='', cols=['value'],
numRows=3, fixedNumOfRows=False):
def __init__(self, name='', description='', numRows=3,
cols=['value'], fixedNumOfRows=False):
Parameter.__init__(self, name, description)
self.cols = cols
if isinstance(cols, basestring):
@@ -244,7 +244,7 @@ class ParameterMultipleInput(ParameterDataObject):

def __init__(self, name='', description='', datatype=-1, optional=False):
ParameterDataObject.__init__(self, name, description)
self.datatype = int(datatype)
self.datatype = int(float(datatype))
self.optional = parseBool(optional)
self.value = None
self.exported = None
@@ -502,7 +502,7 @@ def setValue(self, n):
return True
except:
return False


class ParameterString(Parameter):

0 comments on commit 8e60f49

Please sign in to comment.