Closed batharseneca closed 8 years ago
RESOLVED
n_hoodLabel = tk.Label(self.adapt.controlsFrame, text= "Set block size (must be odd integer > 1): ")
def validateBlock(self,P):
` elif((int(P) % 2 == 1) and (int(P) > 1)):
self.adapt.description.submit.config(state='normal')
self.blockSize = int(P)
print "weighting is: ------",self.adapt.weighting.get(),"------"
if (self.invalid == 0):
self.adaptPreview.config(state='normal')
return True`
Yep.. good catch!
I put 1 in Adaptive for a P-p53 images and pressed preview!::