Commit 73c5c4e7 authored by Mikaël Salson's avatar Mikaël Salson

imgt: change in V-QUEST URL

See #3913
parent 565babd4
...@@ -94,7 +94,7 @@ function imgtPost(species, data, system) { ...@@ -94,7 +94,7 @@ function imgtPost(species, data, system) {
var form = document.getElementById("form"); var form = document.getElementById("form");
form.removeAllChildren(); form.removeAllChildren();
form.target = "_blank"; form.target = "_blank";
form.action = "http://www.imgt.org/IMGT_vquest/vquest"; form.action = "http://www.imgt.org/IMGT_vquest/analysis";
form.method = "POST"; form.method = "POST";
for (var k in imgtInput) { for (var k in imgtInput) {
......
...@@ -16,7 +16,7 @@ def imgt(): ...@@ -16,7 +16,7 @@ def imgt():
if 'Session' in payload.keys(): if 'Session' in payload.keys():
del payload['Session'] del payload['Session']
response = requests.post("http://www.imgt.org/IMGT_vquest/vquest", data=payload) response = requests.post("http://www.imgt.org/IMGT_vquest/analysis", data=payload)
if response.status_code == requests.codes.ok: if response.status_code == requests.codes.ok:
return response return response
return gluon.contrib.simplejson.dumps("the site returned an invalid response") return gluon.contrib.simplejson.dumps("the site returned an invalid response")
......
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