cadnano / cadnano2.5

PyQt5 version of cadnano
http://cadnano.readthedocs.io
Other
70 stars 41 forks source link

Error when applying custom scaffold sequence #9

Closed sdouglas closed 9 years ago

sdouglas commented 9 years ago

To reproduce: use Add Seq tool to apply sequence. Switch to "Custom" tab and paste in a sequence. Result:

Traceback (most recent call last):
  File "./cadnano/gui/views/pathview/strand/endpointitem.py", line 220, in mousePressEvent
    getattr(self, tool_method_name)(modifiers, event, self.idx())
  File "./cadnano/gui/views/pathview/strand/endpointitem.py", line 274, in addSeqToolMousePress
    olgLen, seqLen = self._getActiveTool().applySequence(m_strand.oligo())
  File "./cadnano/gui/views/pathview/tools/addseqtool.py", line 144, in applySequence
    self.validatedSequenceToApply = str(self.seqBox.toPlainText().toUpper())
AttributeError: 'str' object has no attribute 'toUpper'
grinner commented 9 years ago

576fbbc fixes this