cadnano.strandset.removestrandcmd module

class RemoveStrandCommand(strandset, strand, solo=True)

Bases: cadnano.undocommand.UndoCommand

RemoveStrandCommand deletes a strand. It should only be called on strands with no connections to other strands.

Parameters:
  • strandset (StrandSet) –
  • strand (Strand) –
  • solo (bool, optional) – set to True if only one strand is being removed to minimize signaling
redo()
undo()