Merge branch 'releases/Release_2_11_3_Branch'
[jalview.git] / src / jalview / ws / jws2 / JabawsMsaInterfaceAlignCalcWorker.java
index d45a0e1..53f447e 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -43,8 +43,8 @@ import compbio.metadata.JobSubmissionException;
 import compbio.metadata.ResultNotAvailableException;
 import compbio.metadata.WrongParameterException;
 
-public abstract class JabawsMsaInterfaceAlignCalcWorker extends
-        AbstractJabaCalcWorker
+public abstract class JabawsMsaInterfaceAlignCalcWorker
+        extends AbstractJabaCalcWorker
 {
 
   @SuppressWarnings("unchecked")
@@ -59,7 +59,8 @@ public abstract class JabawsMsaInterfaceAlignCalcWorker extends
   }
 
   public JabawsMsaInterfaceAlignCalcWorker(Jws2Instance service,
-          AlignFrame alignFrame, WsParamSetI preset, List<Argument> paramset)
+          AlignFrame alignFrame, WsParamSetI preset,
+          List<Argument> paramset)
   {
     this(alignFrame.getCurrentView(), alignFrame.alignPanel);
     this.guiProgress = alignFrame;
@@ -129,10 +130,8 @@ public abstract class JabawsMsaInterfaceAlignCalcWorker extends
         rslt = msaservice.customAlign(seqs, getJabaArguments());
       } catch (WrongParameterException x)
       {
-        throw new JobSubmissionException(
-                MessageManager
-                        .getString("exception.jobsubmission_invalid_params_set"),
-                x);
+        throw new JobSubmissionException(MessageManager.getString(
+                "exception.jobsubmission_invalid_params_set"), x);
       }
     }
     return rslt;
@@ -157,9 +156,9 @@ public abstract class JabawsMsaInterfaceAlignCalcWorker extends
           List<AlignmentAnnotation> ourAnnot, String typeName,
           String calcId, SequenceI dseq, int base, Score scr)
   {
-    System.out.println("Creating annotation on dseq:" + dseq.getStart()
-            + " base is " + base + " and length=" + dseq.getLength()
-            + " == " + scr.getScores().size());
+    jalview.bin.Console.outPrintln("Creating annotation on dseq:"
+            + dseq.getStart() + " base is " + base + " and length="
+            + dseq.getLength() + " == " + scr.getScores().size());
     // AlignmentAnnotation annotation = new AlignmentAnnotation(
     // scr.getMethod(), typeName, new Annotation[]
     // {}, 0, -1, AlignmentAnnotation.LINE_GRAPH);