aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/main.py
diff options
context:
space:
mode:
authorPjotr Prins2020-07-20 11:31:13 +0100
committerPjotr Prins2020-07-20 11:31:13 +0100
commitf368b3e047d14055bc63899771c782ebbb8c6553 (patch)
treea6f77d435de3895fe61e52e791a3ebb431b2f473 /bh20simplewebuploader/main.py
parentd41ecc84e61048449538fbaabc1a777d95f42618 (diff)
downloadbh20-seq-resource-f368b3e047d14055bc63899771c782ebbb8c6553.tar.gz
bh20-seq-resource-f368b3e047d14055bc63899771c782ebbb8c6553.tar.lz
bh20-seq-resource-f368b3e047d14055bc63899771c782ebbb8c6553.zip
Start Public REST API
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r--bh20simplewebuploader/main.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index b40db6f..aad607d 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -936,8 +936,3 @@ def getSEQbyLocationAndSpecimenSource():
r = requests.get(baseURL, params=payload)
result = r.json()['results']['bindings']
return str(result)
-
-@app.route('/api/ebi/sample-<id>.xml', methods=['GET'])
-def ebi_sample(id):
- page = render_template('ebi-sample.xml',**locals())
- return page