cadnano.strandset.mergecmd module¶
-
class
MergeCommand
(strand_low, strand_high, priority_strand)¶ Bases:
cadnano.undocommand.UndoCommand
This class takes two Strands and merges them. This Class should be private to StrandSet as knowledge of a strandsetIndex outside of this of the StrandSet class implies knowledge of the StrandSet implementation
Must pass this two different strands, and nominally one of the strands again which is the priority_strand. The resulting “merged” strand has the properties of the priority_strand’s oligo. Decorators are preserved
the strand_low and strand_high must be presorted such that strand_low has a lower range than strand_high
low_strandset_idx should be known ahead of time as a result of selection
-
redo
()¶
-
undo
()¶
-