﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2153	"traceback from Fit to Segments ""Fit... Close placed copies"""	Elaine Meng	Tom Goddard	"I *think* I added symmetry copies (1gc1 fit into EMDB 5020) with the ""Show"" button near the bottom of the Options in Fit to Segments.  Then I tried to remove them with Fit to Segments menu: Fit... Close placed copies and got this traceback


Traceback (most recent call last):
  File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/segger/fit_dialog.py"", line 1115, in close_copies_cb
    self.session.models.close ( self.fitted_mols )
  File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/models.py"", line 587, in close
    mremoved = self.remove(models)
  File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/models.py"", line 562, in remove
    mlist.sort(key=lambda m: len(m.id), reverse=True)
  File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/models.py"", line 562, in <lambda>
    mlist.sort(key=lambda m: len(m.id), reverse=True)
TypeError: object of type 'NoneType' has no len()

TypeError: object of type 'NoneType' has no len()

File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/models.py"", line 562, in 
mlist.sort(key=lambda m: len(m.id), reverse=True)
"	defect	closed	moderate		Volume Data		fixed						all	ChimeraX
