Add dist1 widget
This commit is contained in:
@ -49,6 +49,9 @@ def create():
|
|||||||
|
|
||||||
ub_textareainput.value = crystal_elem.find("UB").text
|
ub_textareainput.value = crystal_elem.find("UB").text
|
||||||
|
|
||||||
|
dataFactory_elem = tree.find("DataFactory")
|
||||||
|
dist1_textinput.value = dataFactory_elem.find("dist1").attrib["value"]
|
||||||
|
|
||||||
alg_elem = tree.find("Algorithm")
|
alg_elem = tree.find("Algorithm")
|
||||||
if alg_elem.attrib["implementation"] == "adaptivemaxcog":
|
if alg_elem.attrib["implementation"] == "adaptivemaxcog":
|
||||||
mode_radio_button_group.active = 0
|
mode_radio_button_group.active = 0
|
||||||
@ -102,6 +105,7 @@ def create():
|
|||||||
zeroCHI_textinput = TextInput(title="zeroCHI:", width=140)
|
zeroCHI_textinput = TextInput(title="zeroCHI:", width=140)
|
||||||
|
|
||||||
# ---- DataFactory
|
# ---- DataFactory
|
||||||
|
dist1_textinput = TextInput(title="Dist1:")
|
||||||
|
|
||||||
# ---- BackgroundProcessor
|
# ---- BackgroundProcessor
|
||||||
|
|
||||||
@ -176,6 +180,7 @@ def create():
|
|||||||
crystal_sample_textinput,
|
crystal_sample_textinput,
|
||||||
row(lambda_textinput, zeroOM_textinput, zeroSTT_textinput, zeroCHI_textinput),
|
row(lambda_textinput, zeroOM_textinput, zeroSTT_textinput, zeroCHI_textinput),
|
||||||
ub_textareainput,
|
ub_textareainput,
|
||||||
|
dist1_textinput,
|
||||||
process_button,
|
process_button,
|
||||||
),
|
),
|
||||||
column(
|
column(
|
||||||
|
Reference in New Issue
Block a user