X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Frest%2FRestClient.java;h=df9050b2488572ca4f591a6e315d8bd3f705a0c1;hb=3b12b9d08114c5acef7f8186f0cf79d235fe3416;hp=86e606c22dd01f3b3524575c1b39ba2d71b81303;hpb=6d7e3b1dc29d9639f01d45eef7aff4e42302d1c9;p=jalview.git diff --git a/src/jalview/ws/rest/RestClient.java b/src/jalview/ws/rest/RestClient.java index 86e606c..df9050b 100644 --- a/src/jalview/ws/rest/RestClient.java +++ b/src/jalview/ws/rest/RestClient.java @@ -281,7 +281,7 @@ public class RestClient extends WSClient implements WSClientI, public static RestClient makeShmmrRestClient() { - String action = "Analyse", description = "Sequence Harmony and Multi-Relief (UNSTABLE!)", name = "SHMR"; + String action = "Analyse", description = "Sequence Harmony and Multi-Relief (UNSTABLE!)", name = "Sequence Harmony"; Hashtable iparams = new Hashtable(); jalview.ws.rest.params.JobConstant toolp; //toolp = new jalview.ws.rest.JobConstant("tool","jalview"); @@ -296,10 +296,13 @@ public class RestClient extends WSClient implements WSClientI, iparams.put(toolp.token, toolp); jalview.ws.rest.params.Alignment aliinput = new jalview.ws.rest.params.Alignment(); - aliinput.token = "ali_file"; - aliinput.writeAsFile=true; - iparams.put("ali_file", aliinput); + aliinput.token = "ali";//_file"; + aliinput.writeAsFile=false;//true; + //aliinput.token = "ali_file"; + //aliinput.writeAsFile=true; + iparams.put(aliinput.token, aliinput); jalview.ws.rest.params.SeqGroupIndexVector sgroups = new jalview.ws.rest.params.SeqGroupIndexVector(); + sgroups.minsize=2; iparams.put("groups", sgroups); sgroups.token = "groups"; sgroups.sep = " ";