Zhangir Azerbayev commited on
Commit
f34a2b4
1 Parent(s): bc04843

production mode

Browse files
Files changed (1) hide show
  1. fetch_arxiv.py +3 -3
fetch_arxiv.py CHANGED
@@ -232,7 +232,7 @@ def main():
232
  """
233
  math_ids = get_math_ids()
234
 
235
- save_dir = "arxiv_1"
236
  Path(save_dir).mkdir(exist_ok=True)
237
  manifest_path = os.path.join(save_dir, "manifest.xml")
238
 
@@ -265,8 +265,8 @@ def main():
265
  os.remove(manifest_path)
266
 
267
  if __name__=="__main__":
268
- #main()
269
- #_delete_files_except_pattern("arxiv_1", r".*\.tex$", transform=clean_tex_file_some_more)
270
  for f in tqdm(os.listdir("arxiv")):
271
  f_path = os.path.join("arxiv", f)
272
  make_archive(f_path)
 
232
  """
233
  math_ids = get_math_ids()
234
 
235
+ save_dir = "arxiv"
236
  Path(save_dir).mkdir(exist_ok=True)
237
  manifest_path = os.path.join(save_dir, "manifest.xml")
238
 
 
265
  os.remove(manifest_path)
266
 
267
  if __name__=="__main__":
268
+ main()
269
+ _delete_files_except_pattern("arxiv", r".*\.tex$", transform=clean_tex_file_some_more)
270
  for f in tqdm(os.listdir("arxiv")):
271
  f_path = os.path.join("arxiv", f)
272
  make_archive(f_path)