JAL-2103 reinstate legacy behaviour (when full_MSA not available)

authorJim Procter <jprocter@issues.jalview.org>
Tue, 10 May 2016 14:04:26 +0000 (15:04 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 10 May 2016 14:04:26 +0000 (15:04 +0100)
src/jalview/ws/jws1/JPredThread.java

index 7176163..bb09af3 100644 (file)
@@ -222,12 +222,12 @@ class JPredThread extends JWS1Thread implements WSClientI
           }
           if (fullAlignment == null)
           {
-            // ///
+            // //
             // Uses RemoveGapsCommand
-            // ///
-            // new jalview.commands.RemoveGapsCommand(
-            // MessageManager.getString("label.remove_gaps"),
-            // new SequenceI[] { sqs[msaIndex] }, currentView);
+            // //
+            new jalview.commands.RemoveGapsCommand(
+                    MessageManager.getString("label.remove_gaps"),
+                    new SequenceI[] { sqs[msaIndex] }, currentView);
 
             SequenceI profileseq = al.getSequenceAt(FirstSeq);
             profileseq.setSequence(sqs[msaIndex].getSequenceAsString());