distinguish between userdefined parameter set job and preset job
authorjprocter <Jim Procter>
Fri, 3 Sep 2010 08:19:39 +0000 (08:19 +0000)
committerjprocter <Jim Procter>
Fri, 3 Sep 2010 08:19:39 +0000 (08:19 +0000)
src/jalview/ws/jws2/MsaWSClient.java

index 1d9a89c..820dfb4 100644 (file)
@@ -117,8 +117,12 @@ public class MsaWSClient extends Jws2Client
       {
         return;
       }
-      preset = null;
-      paramset = jobParams.getJobParams();
+      if ((this.preset = jobParams.getPreset())==null)
+      {
+        paramset = jobParams.getJobParams();
+      } else {
+        paramset = null; // no user supplied parameters.
+      }
     }
 
     if ((wsInfo = setWebService(sh, false)) == null)