JAL-979 tidy up shmmr hardcoded WS definition
[jalview.git] / src / jalview / ws / rest / RestClient.java
index 95de391..b1739a5 100644 (file)
@@ -1,6 +1,6 @@
 /*******************************************************************************
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
  *
  * This file is part of Jalview.
  *
@@ -320,10 +320,8 @@ public class RestClient extends WSClient implements WSClientI,
     
     jalview.ws.rest.params.Alignment aliinput = new jalview.ws.rest.params.Alignment();
     // SHMR server has a 65K limit for content pasted into the 'ali' parameter, so we always upload our files.
-    aliinput.token = "ali_file";//_file";
-    aliinput.writeAsFile=true;//true;
-    //aliinput.token = "ali_file";
-    //aliinput.writeAsFile=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.setMinsize(2);