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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 def getListStr(valueStr):
     return "'%s'" % ','.join(pwutils.getListFromValues(valueStr, nIter))