Ejemplo n.º 1
0
 def itersStringValues(self, attributeName, firstValue='c1'):
     """ Take the string of a given attribute and
     create a list of strings that will be used by 
     the iteratioins. An special first value will be
     added to the list for iteration 0.
     """
     valuesStr = self.getAttributeValue(attributeName)
     if valuesStr is None:
         raise Exception('None value for attribute: %s' % attributeName)
     return [firstValue] + getStringListFromValues(valuesStr, length=self.numberOfIterations.get())
Ejemplo n.º 2
0
 def itersStringValues(self, attributeName, firstValue='c1'):
     """ Take the string of a given attribute and
     create a list of strings that will be used by 
     the iteratioins. An special first value will be
     added to the list for iteration 0.
     """
     valuesStr = self.getAttributeValue(attributeName)
     if valuesStr is None:
         raise Exception('None value for attribute: %s' % attributeName)
     return [firstValue] + getStringListFromValues(valuesStr, length=self.numberOfIterations.get())