cadnano.strandset.createstrandcmd module¶
-
class
CreateStrandCommand
(strandset, base_idx_low, base_idx_high, color, update_segments=True)¶ Bases:
cadnano.undocommand.UndoCommand
Create a new Strand based with bounds (base_idx_low, base_idx_high), and insert it into the strandset at position strandset_idx. Also, create a new Oligo, add it to the Part, and point the new Strand at the oligo.
-
redo
()¶
-
undo
()¶
-