hanhainebula commited on
Commit
ef21382
·
1 Parent(s): 31daf22

debug for backend.py

Browse files
Files changed (1) hide show
  1. src/backend.py +2 -2
src/backend.py CHANGED
@@ -107,7 +107,7 @@ def get_zip_file_path(zip_file_name: str):
107
  zip_file_path = None
108
  for root, _, files in os.walk(ZIP_CACHE_DIR):
109
  for file in files:
110
- print(file)
111
  if file == zip_file_name:
112
  zip_file_path = os.path.abspath(os.path.join(root, file))
113
  break
@@ -197,7 +197,7 @@ def pull_search_results(
197
  except Exception as e:
198
  logger.error(f"Failed to download the zip file `{zip_file_name}`: {e}")
199
  continue
200
- print(zip_file_path) # debug
201
  unzip_target_path = os.path.join(unzip_target_dir, benchmark_version, file_name)
202
  os.makedirs(unzip_target_path, exist_ok=True)
203
  try:
 
107
  zip_file_path = None
108
  for root, _, files in os.walk(ZIP_CACHE_DIR):
109
  for file in files:
110
+ logger.warning(f"file: {file}")
111
  if file == zip_file_name:
112
  zip_file_path = os.path.abspath(os.path.join(root, file))
113
  break
 
197
  except Exception as e:
198
  logger.error(f"Failed to download the zip file `{zip_file_name}`: {e}")
199
  continue
200
+
201
  unzip_target_path = os.path.join(unzip_target_dir, benchmark_version, file_name)
202
  os.makedirs(unzip_target_path, exist_ok=True)
203
  try: