Opened 8 years ago

Last modified 8 years ago

#920 closed defect

recoloring surf after bumps-coloring gives TypeError unsupported operand type(s) for +=: 'NoneType' and 'int' — at Initial Version

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: major Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

After using "bumps" with "surfColor true" on a volume surface, applying a single color to that surface gives a traceback, e.g.

color #2 purple
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 201, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2550, in run
result = ci.function(session, kw_args)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/color.py", line 159, in color
ns += len(mlist)
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'

Change History (0)

Note: See TracTickets for help on using tickets.