cadnano.strand.insertioncmd module¶
-
class
AddInsertionCommand(strand, idx, length)¶ Bases:
cadnano.undocommand.UndoCommand-
redo()¶
-
undo()¶
-
-
class
ChangeInsertionCommand(strand, idx, new_length)¶ Bases:
cadnano.undocommand.UndoCommandChanges the length of an insertion to a non-zero value the caller of this needs to handle the case where a zero length is required and call RemoveInsertionCommand
-
redo()¶
-
undo()¶
-
-
class
RemoveInsertionCommand(strand, idx)¶ Bases:
cadnano.undocommand.UndoCommand-
redo()¶
-
undo()¶
-
