JAL-4366 JAL-3947 avoid ambiguity for multi character chain codes in mapping test
authorJames Procter <j.procter@dundee.ac.uk>
Sun, 14 Jan 2024 15:05:43 +0000 (15:05 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Sun, 14 Jan 2024 15:05:43 +0000 (15:05 +0000)
test/jalview/structure/Mapping.java

index ff17209..4cecc54 100644 (file)
@@ -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);