Commit 3e8f0ff2 authored by Unknown's avatar Unknown
Browse files

Image Processing motif selection bugffix

parent 9bff0fee
......@@ -708,11 +708,11 @@
#print("Setting motif with coordinates ({}, {})".format(current_center[0], current_center[1]))
axes[0].add_patch(patches.Rectangle((col - int(0.5*motif_win_size),
row - int(0.5*motif_win_size)),
motif_win_size, motif_win_size, fill=False,
color='black', linewidth=2))
motif_win_centers.append((current_center[0], current_center[1]))
motif_win_centers.append((row, col))
cid = clean_img.figure.canvas.mpl_connect('button_press_event', move_zoom_box)
cid2 = motif_img.figure.canvas.mpl_connect('button_press_event', _motif_fine_select)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment