Commit 21d068bf authored by Nuno's avatar Nuno
Browse files

term_strip

parent 072745c2
Pipeline #844 passed with stage
in 38 minutes and 2 seconds
......@@ -76,6 +76,8 @@ def predict():
elif term:
try:
term = term.strip()
nmr_docs = nmr_docs.strip()
docs = pubmed_reader.term_to_docs(term, email, retmax=nmr_docs, dl_config=dl_config)
if not docs:
return render_template('result.html', tables=None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment