(JAL-975) ensure AACons is only run on protein sequences. (note - should really fix...
[jalview.git] / src / jalview / ws / jws2 / AAConsClient.java
index 7aaa2fe..054c9ab 100644 (file)
@@ -135,7 +135,7 @@ public class AAConsClient extends AlignCalcWorker
 
       int aWidth = -1;
 
-      if (alignment == null || (aWidth = alignment.getWidth()) < 0)
+      if (alignment == null || (aWidth = alignment.getWidth()) < 0 || alignment.isNucleotide())
       {
         calcMan.workerComplete(this);
         return;