From 90973fe728555071b0102da14e5aab0bf595983c Mon Sep 17 00:00:00 2001 From: James Procter Date: Sat, 16 Dec 2023 08:43:55 +0000 Subject: [PATCH] JAL-4366 1:1 mapping requires exact sequence length match - still not sufficient for 3di case - will need a molecule type --- src/jalview/structure/StructureSelectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index ad5da67..735d814 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -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; } -- 1.7.10.2