JAL-845 bug fixes correcting linked editing
[jalview.git] / src / jalview / util / MappingUtils.java
index 9880ae7..eebc539 100644 (file)
@@ -92,8 +92,7 @@ public final class MappingUtils
       SequenceI ds = seq.getDatasetSequence();
       if (ds != null)
       {
-        final SequenceI copy = new Sequence("", new String(
-                seq.getSequence()));
+        final SequenceI copy = new Sequence(seq);
         copy.setDatasetSequence(ds);
         targetCopies.put(ds, copy);
       }