File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 6565 resource_add_path (WRK_DIR )
6666
6767retrieved_worker_id = retrieve_worker_id ()
68- tasks_from_api = {'status' : 'pending' , 'content' : '' }
69- number_of_tasks = 0
7068
71- # Proceed if a valid worker ID is retrieved and it's not a placeholder
72- if retrieved_worker_id ['status' ] == 'success' and retrieved_worker_id ['content' ] != CogBatt_config .WORKER_ID_PLACEHOLDER_VALUE :
73- tasks_from_api = get_blocks_to_run (retrieved_worker_id ['content' ])
74- number_of_tasks = 0 if tasks_from_api ['status' ] == 'error' else len (tasks_from_api ['content' ])
69+ tasks_from_api = get_blocks_to_run (retrieved_worker_id ['content' ])
70+ number_of_tasks = 0 if tasks_from_api ['status' ] == 'error' else len (tasks_from_api ['content' ])
7571
7672
7773# Initialize the SMILE experiment.
You can’t perform that action at this time.
0 commit comments