From: James Procter Date: Sun, 14 Jan 2024 15:05:43 +0000 (+0000) Subject: JAL-4366 JAL-3947 avoid ambiguity for multi character chain codes in mapping test X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=12bb738efb92e445be9149c62131099c10556a6d;p=jalview.git JAL-4366 JAL-3947 avoid ambiguity for multi character chain codes in mapping test --- diff --git a/test/jalview/structure/Mapping.java b/test/jalview/structure/Mapping.java index ff17209..4cecc54 100644 --- a/test/jalview/structure/Mapping.java +++ b/test/jalview/structure/Mapping.java @@ -269,7 +269,7 @@ public class Mapping AlignFrame ref = new FileLoader(false).LoadFileWaitTillLoaded( "test/jalview/ext/jmol/1QCF.pdb", DataSourceType.FILE); SequenceI refseq = ref.getViewport().getAlignment().getSequenceAt(0); - SequenceI newseq = new Sequence(refseq.getName() + "Copy", + SequenceI newseq = new Sequence(refseq.getName() + "_Copy", refseq.getSequenceAsString()); // make it harder by shifting the copy vs the reference newseq.setStart(refseq.getStart() + 25);