sdouglas / cadnano2

Home Page:http://cadnano.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error log, trying to delete wrong object number

a00s opened this issue · comments

  1. Created 2 shaped:
  • DNAShapeTransform_1
    • DNACylinderShape_1
  • DNAShapeTransform_2
    • DNACylinderShape_2
  1. Select both
    select -r DNAShapeTransform_1 DNAShapeTransform_2 ;

  2. delete; (* please ignore the line numbers)

Traceback (most recent call last):
File "C:\cadnano2b\views\solidview\stranditem.py", line 171, in strandHasNewOligoSlot
self.updateColor(mID, strand.oligo().color())
File "C:\cadnano2b\views\solidview\stranditem.py", line 323, in updateColor
cmds.sets(meshName, forceElement="%sSG" % shaderName)
ValueError: No object matches name: DNACylinderShape_3

Is trying to delete the wrong object

Seems like inside file removeMsgCmd

def dagParentRemovedCallback(child, parent, clientData):

mom.removeIDMapping(mID, strand)

this line seems causing the issue in somehow.

thanks

Thiago