JAL-4366 1:1 mapping requires exact sequence length match - still not sufficient...
authorJames Procter <j.procter@dundee.ac.uk>
Sat, 16 Dec 2023 08:43:55 +0000 (08:43 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Sat, 16 Dec 2023 08:43:55 +0000 (08:43 +0000)
src/jalview/structure/StructureSelectionManager.java

index ad5da67..735d814 100644 (file)
@@ -573,7 +573,7 @@ public class StructureSelectionManager
         AlignSeq as = AlignSeq.doGlobalNWAlignment(seq, chain.sequence,
                 type);
         // TODO: JAL-4366 determinine of a crummy alignment but exact match should make this chain the one to be mapped to a 3di sequence
-        if (as.s1str.length() == 4 + as.s2str.length())
+        if (as.s1str.length() == as.s2str.length())
         {
           idLengthChain = chain;
         }