mv title
Browse files- gui_control.py +8 -8
gui_control.py
CHANGED
|
@@ -17,6 +17,14 @@ def show():
|
|
| 17 |
"deltastagereflection",
|
| 18 |
]
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
def get_pos_button():
|
| 21 |
microscope = MicroscopeDemo(
|
| 22 |
HIVEMQ_BROKER,
|
|
@@ -74,14 +82,6 @@ def show():
|
|
| 74 |
st.write("Move complete")
|
| 75 |
microscope.end_connection()
|
| 76 |
|
| 77 |
-
st.title("GUI control")
|
| 78 |
-
|
| 79 |
-
microscopeselection = st.selectbox(
|
| 80 |
-
"Choose a microscope:", microscopes, index=microscopes.index("microscope2")
|
| 81 |
-
)
|
| 82 |
-
|
| 83 |
-
access_key = st.text_input(label="Enter your access key here:", max_chars=1000)
|
| 84 |
-
|
| 85 |
st.button("Get position", on_click=get_pos_button)
|
| 86 |
st.write("")
|
| 87 |
st.button("Take image", on_click=take_image_button)
|
|
|
|
| 17 |
"deltastagereflection",
|
| 18 |
]
|
| 19 |
|
| 20 |
+
st.title("GUI control")
|
| 21 |
+
|
| 22 |
+
microscopeselection = st.selectbox(
|
| 23 |
+
"Choose a microscope:", microscopes, index=microscopes.index("microscope2")
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
access_key = st.text_input(label="Enter your access key here:", max_chars=1000)
|
| 27 |
+
|
| 28 |
def get_pos_button():
|
| 29 |
microscope = MicroscopeDemo(
|
| 30 |
HIVEMQ_BROKER,
|
|
|
|
| 82 |
st.write("Move complete")
|
| 83 |
microscope.end_connection()
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
st.button("Get position", on_click=get_pos_button)
|
| 86 |
st.write("")
|
| 87 |
st.button("Take image", on_click=take_image_button)
|