cadnano.part.xovercmds module

class CreateXoverCommand(part, strand5p, strand5p_idx, strand3p, strand3p_idx, update_oligo=True)

Bases: cadnano.undocommand.UndoCommand

Creates a Xover from the 3’ end of strand5p to the 5’ end of strand3p this needs to 1. preserve the old oligo of strand3p 2. install the crossover 3. apply the strand5p oligo to the strand3p

redo()
undo()
class RemoveXoverCommand(part, strand5p, strand3p)

Bases: cadnano.undocommand.UndoCommand

Removes a Xover from the 3’ end of strand5p to the 5’ end of strand3p this needs to 1. preserve the old oligo of strand3p 2. install the crossover 3. update the oligo length 4. apply the new strand3p oligo to the strand3p

redo()
undo()