The function _register_swipe in process_tiff contains a commented out line of code (first line). Please remove this and the other commented out code for clarity (see below: marked with double asterisks).
def _register_swipe(zstack, start, finish, progress):
**# print(str(start)+', finish:' + str(finish)+', progress:'+str(progress))**
for i in range(start, finish, progress):
if i == 0:
stackRange = range(i, i + 2)
elif i == zstack.shape[0] - 1:
stackRange = range(i - 1, i + 1)
else:
stackRange = range(i - 1, i + 2)
** # print(str(i)) **
miniStack = zstack[stackRange]
res = register_frames(
miniStack[1, :, :], miniStack[:, :, :].astype(np.int16)
)
zstack[stackRange, :, :] = res[0]
return zstack
The function _register_swipe in process_tiff contains a commented out line of code (first line). Please remove this and the other commented out code for clarity (see below: marked with double asterisks).