git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6d7e3b1
)
revised shmr service
author
jprocter
<Jim Procter>
Wed, 5 Jan 2011 16:05:15 +0000
(16:05 +0000)
committer
jprocter
<Jim Procter>
Wed, 5 Jan 2011 16:05:15 +0000
(16:05 +0000)
src/jalview/ws/rest/RestClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/rest/RestClient.java
b/src/jalview/ws/rest/RestClient.java
index
86e606c
..
df9050b
100644
(file)
--- 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()
{
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<String, InputType> iparams = new Hashtable<String, InputType>();
jalview.ws.rest.params.JobConstant toolp;
//toolp = new jalview.ws.rest.JobConstant("tool","jalview");
Hashtable<String, InputType> iparams = new Hashtable<String, InputType>();
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();
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();
jalview.ws.rest.params.SeqGroupIndexVector sgroups = new jalview.ws.rest.params.SeqGroupIndexVector();
+ sgroups.minsize=2;
iparams.put("groups", sgroups);
sgroups.token = "groups";
sgroups.sep = " ";
iparams.put("groups", sgroups);
sgroups.token = "groups";
sgroups.sep = " ";