- sequence.deleteChars(command.position, command.position
- + command.number);
- SequenceI newDs = sequence.getDatasetSequence();
- if (newDs != ds && command.al != null
- && command.al.getDataset() != null
- && !command.al.getDataset().getSequences().contains(newDs))
- {
- command.al.getDataset().addSequence(newDs);
- }
+ sequence.deleteChars(command.position,
+ command.position + command.number);