Neil-YL commited on
Commit
bf6834f
·
1 Parent(s): afc71ff

update pause info

Browse files
__pycache__/maintenance_flow.cpython-310.pyc CHANGED
Binary files a/__pycache__/maintenance_flow.cpython-310.pyc and b/__pycache__/maintenance_flow.cpython-310.pyc differ
 
maintenance_flow.py CHANGED
@@ -18,7 +18,14 @@ def request_wells_maintenance(maintenance_type):
18
  message += f"\n\nOT2-LCM requests a {maintenance_type}, please open the <{flow_run_url}|paused flow run>, complete with your user name and then click 'Resume'"
19
  slack_block.notify(message)
20
 
21
- user = pause_flow_run(wait_for_input=str, timeout=600)
 
 
 
 
 
 
 
22
 
23
  set_maintenance_status(maintenance_type,0)
24
 
 
18
  message += f"\n\nOT2-LCM requests a {maintenance_type}, please open the <{flow_run_url}|paused flow run>, complete with your user name and then click 'Resume'"
19
  slack_block.notify(message)
20
 
21
+ user = pause_flow_run(
22
+ wait_for_input=(
23
+ f"Please complete the {maintenance_type}.\n"
24
+ "After you have replaced the wellplate, "
25
+ "please input your name:"
26
+ ),
27
+ timeout=300,
28
+ )
29
 
30
  set_maintenance_status(maintenance_type,0)
31