def load_results(base):
 data_file = get_pdata_path(base, 1)
 try:
  with open(data_file, _PICK_LOAD) as stream:
   return pickle.load(stream)
 except Exception:
  return {}

def load_results ( base ) : data_file = get_pdata_path ( base , 1 ) try : with open ( data_file , _PICK_LOAD ) as stream : return pickle . load ( stream ) except Exception : return { }
try to unpickle and return data from file if it exists and is not corrupted return an empty dictionary if it doesnt exists .