Exemplo n.º 1
0
 def _validate(self):
     errors = []
     xdim = self.inputParticles.get().getDim()[0]
     if not isPower2(xdim):
         errors.append(
             "Image dimension (%s) is not a power of two, consider resize them"
             % xdim)
     return errors
Exemplo n.º 2
0
 def _validate(self):
     errors = []
     xdim = self.inputParticles.get().getDim()[0]
     if not isPower2(xdim):
         errors.append("Image dimension (%s) is not a power of two, consider resize them" % xdim)
     return errors