X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FEditCommand.java;h=06f59cbadf84719ea5d4943ec745a0700c00e48d;hb=c29cd7be43dcd8575d1b4b1e53920117af706ca4;hp=f71fb79070ae9c357443429ad447fde756b1c67c;hpb=51c792ab859d3979c966678f2fed8e1103b43d78;p=jalview.git diff --git a/src/jalview/commands/EditCommand.java b/src/jalview/commands/EditCommand.java index f71fb79..06f59cb 100644 --- a/src/jalview/commands/EditCommand.java +++ b/src/jalview/commands/EditCommand.java @@ -806,9 +806,9 @@ public class EditCommand implements CommandI { // first edit the original dataset sequence string SequenceI oldds = command.seqs[i].getDatasetSequence(); - String fullseq, osp = oldds.getSequenceAsString(); + String osp = oldds.getSequenceAsString(); - fullseq = osp.substring(0, ipos) + nogaprep + String fullseq = osp.substring(0, ipos) + nogaprep + osp.substring(ipos + nogaprep.length()); // and check if new sequence data is different..