wzkariampuzha commited on
Commit
347f473
1 Parent(s): 58027d4

Update epi_pipeline.py

Browse files
Files changed (1) hide show
  1. epi_pipeline.py +1 -1
epi_pipeline.py CHANGED
@@ -73,7 +73,7 @@ def search_getAbs(searchterm_list:Union[List[str],List[int],str], maxResults:int
73
  query = term[:-3]
74
 
75
  ## get pmid results from searching for disease name through PubMed API
76
- url = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term='+query
77
  r = requests.get(url)
78
  root = ET.fromstring(r.content)
79
 
 
73
  query = term[:-3]
74
 
75
  ## get pmid results from searching for disease name through PubMed API
76
+ url = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term='+query+"&retmax="+str(maxResults)
77
  r = requests.get(url)
78
  root = ET.fromstring(r.content)
79