JAL-2805 check actually works now
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 18:07:45 +0000 (18:07 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Fri, 12 Jan 2018 18:07:45 +0000 (18:07 +0000)
src/jalview/ext/treeviewer/LoadedTreeSequenceAssociation.java

index 3711e81..479e450 100644 (file)
@@ -63,8 +63,8 @@ public class LoadedTreeSequenceAssociation
           // If so, does it actually match Jalview's sequence?
           if (treeNode.getSequence() != null)
           {
-            if (treeNode.getSequence().getSequenceAsString() != nodeSequence
-                    .getSequenceAsString())
+            if (!(treeNode.getSequence().getSequenceAsString()
+                    .equals(nodeSequence.getSequenceAsString())))
             {
               System.err.println(
                       "Sequence detected in tree node that does not match corresponding Jalview sequence:"