fisheye-experimental / frontend /state_handler.py
oskarastrom's picture
Compatability with backend
128e4f0
raw
history blame contribute delete
No virus
413 Bytes
def reset_state(result, state):
# Reset Result
result["json_result"] = []
result["aris_input"] = []
result["datasets"] = []
result["path_video"] = []
result["path_zip"] = []
result["path_json"] = []
result["path_marking"] = []
result["fish_table"] = []
result["fish_info"] = []
# Reset State
state['files'] = []
state['index'] = 0
state['total'] = 0