ercanburak commited on
Commit
fae6ebf
1 Parent(s): db457c7

check meta path if enabled

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def retrieve_results(selected_dataset, selected_sequence, selected_models, selec
23
 
24
  meta_enabled = False
25
  meta_path = get_meta_path(base_data_dir, selected_dataset, selected_sequence)
26
- if not os.path.isfile(meta_path):
27
  raise ValueError("Meta file not found: {}".format(meta_path))
28
 
29
  gt_only_viz = [viz for viz in selected_visualizations if viz['viz_type'] == 'gt_only']
 
23
 
24
  meta_enabled = False
25
  meta_path = get_meta_path(base_data_dir, selected_dataset, selected_sequence)
26
+ if meta_enabled and not os.path.isfile(meta_path):
27
  raise ValueError("Meta file not found: {}".format(meta_path))
28
 
29
  gt_only_viz = [viz for viz in selected_visualizations if viz['viz_type'] == 'gt_only']