Spaces:
Runtime error
Runtime error
Commit
·
180a8a2
1
Parent(s):
f599270
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def search_pubmed(query, retmax=5, mindate=None, maxdate=None, datetype="pdat"):
|
|
105 |
if maxdate:
|
106 |
search_kwargs["maxdate"] = maxdate
|
107 |
|
108 |
-
handle = Entrez.esearch(search_kwargs)
|
109 |
record = Entrez.read(handle)
|
110 |
handle.close()
|
111 |
idlist = record['IdList']
|
|
|
105 |
if maxdate:
|
106 |
search_kwargs["maxdate"] = maxdate
|
107 |
|
108 |
+
handle = Entrez.esearch(**search_kwargs)
|
109 |
record = Entrez.read(handle)
|
110 |
handle.close()
|
111 |
idlist = record['IdList']
|