Change header template for a new version
[jabaws.git] / webservices / compbio / ws / server / ClustalOWS.java
index 2151139..0ea6f39 100644 (file)
@@ -1,6 +1,6 @@
-/* Copyright (c) 2009 Peter Troshin\r
+/* Copyright (c) 2011 Peter Troshin\r
  *  \r
- *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 1.0   \r
+ *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0     \r
  * \r
  *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
  *  Apache License version 2 as published by the Apache Software Foundation\r
@@ -47,10 +47,8 @@ import compbio.metadata.RunnerConfig;
 import compbio.metadata.WrongParameterException;\r
 import compbio.runner.Util;\r
 import compbio.runner.msa.ClustalO;\r
-import compbio.runner.msa.ClustalW;\r
-import compbio.runner.msa.Tcoffee;\r
 \r
-@WebService(endpointInterface = "compbio.data.msa.MsaWS", targetNamespace = JABAService.SERVICE_NAMESPACE, serviceName = "ClustalOWS")\r
+@WebService(endpointInterface = "compbio.data.msa.MsaWS", targetNamespace = JABAService.V2_SERVICE_NAMESPACE, serviceName = "ClustalOWS")\r
 public class ClustalOWS implements MsaWS<ClustalO> {\r
 \r
        private static Logger log = Logger.getLogger(ClustalOWS.class);\r
@@ -83,7 +81,8 @@ public class ClustalOWS implements MsaWS<ClustalO> {
                                .configureExecutable(clustal, dataSet);\r
                // Set the number of threads for the cluster execution from conf file\r
                if (confClust.getExecProvider() == Executable.ExecProvider.Cluster) {\r
-                       int clusterCpuNum = SkeletalExecutable.getClusterCpuNum(clustal.getType());\r
+                       int clusterCpuNum = SkeletalExecutable.getClusterCpuNum(clustal\r
+                                       .getType());\r
                        if (clusterCpuNum != 0) {\r
                                clustal.setNCore(clusterCpuNum);\r
                        }\r