VyLala commited on
Commit
99c94b1
·
verified ·
1 Parent(s): 093d941

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -0
pipeline.py CHANGED
@@ -320,8 +320,10 @@ def pipeline_with_gemini(accessions):
320
  # no doi then google custom search api
321
  if len(article_text) == 0 or "Just a moment...Enable JavaScript and cookies to continue".lower() in article_text.lower() or "403 Forbidden Request".lower() in article_text.lower():
322
  # might find the article
 
323
  tem_links = mtdna_classifier.search_google_custom(title, 2)
324
  # get supplementary of that article
 
325
  for link in tem_links:
326
  html = extractHTML.HTML("",link)
327
  jsonSM = html.getSupMaterial()
 
320
  # no doi then google custom search api
321
  if len(article_text) == 0 or "Just a moment...Enable JavaScript and cookies to continue".lower() in article_text.lower() or "403 Forbidden Request".lower() in article_text.lower():
322
  # might find the article
323
+ print("no article text")
324
  tem_links = mtdna_classifier.search_google_custom(title, 2)
325
  # get supplementary of that article
326
+ print("tem links length ", len(tem_links))
327
  for link in tem_links:
328
  html = extractHTML.HTML("",link)
329
  jsonSM = html.getSupMaterial()