From: kjvdheide Date: Fri, 12 Jan 2018 18:07:45 +0000 (+0000) Subject: JAL-2805 check actually works now X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c7d1099816ae4cf2ad15ca582a10c76a50f631d2;p=jalview.git JAL-2805 check actually works now --- diff --git a/src/jalview/ext/treeviewer/LoadedTreeSequenceAssociation.java b/src/jalview/ext/treeviewer/LoadedTreeSequenceAssociation.java index 3711e81..479e450 100644 --- a/src/jalview/ext/treeviewer/LoadedTreeSequenceAssociation.java +++ b/src/jalview/ext/treeviewer/LoadedTreeSequenceAssociation.java @@ -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:"