def _warnings(self):
        warns = []
        if not self.smallAngle:
            niter = self.numberOfIterations.get()
            if niter < len(pwutils.getListFromValues(self.angSteps.get())):
                warns.append(
                    '*Angular steps* have more values than iterations')

        return warns
 def _warnings(self):
     print
     print "protocol_projmatch._warning"
     print
     warns = []
     if not self.smallAngle:
         niter = self.numberOfIterations.get()
         if niter < len(pwutils.getListFromValues(self.angSteps.get())):
             warns.append('*Angular steps* have more values than iterations')           
 
     return warns
 def getListStr(valueStr):
     return "'%s'" % ','.join(pwutils.getListFromValues(valueStr, nIter))