Commit 7592b4a6 authored by nurulnad's avatar nurulnad

return status 200 if output not empty

parent 4319f214
......@@ -3232,6 +3232,8 @@ def entry_secondary_structure(pdbid, mc):
if len(output) == 0:
bottle.response.status = 404
else:
bottle.response.status = 200
return output
# Smiles are missing!!!
......
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