Commit d9d9df67 authored by Christoph Sommer's avatar Christoph Sommer

fix bug, patch size override after load settings

parent f96dc934
......@@ -221,8 +221,8 @@ def select_patch_parameter():
patch_size_select = []
patch_options = [8, 16, 32, 64, 128, 256]
params['patch_size'] = [64]*len(list(params["axes"]))
if len(params['patch_size']) == 0:
params['patch_size'] = [64]*len(list(params["axes"]))
for j, a in enumerate(list(params["axes"])):
wi = widgets.Dropdown(options=list(map(str, patch_options)),
......
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