Opened 8 years ago
Last modified 8 years ago
#920 closed defect
coloring volume surf gives TypeError unsupported operand type(s) for +=: 'NoneType' and 'int' — at Version 1
| 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 (last modified by )
Coloring an isosurfaces gives error:
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 (2)
comment:1 by , 8 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | recoloring surf after bumps-coloring gives TypeError unsupported operand type(s) for +=: 'NoneType' and 'int' → coloring volume surf gives TypeError unsupported operand type(s) for +=: 'NoneType' and 'int' |
by , 8 years ago
| Attachment: | amino-coloring.cxc added |
|---|
At first I blamed previous bump-coloring but now I see that simply opening a volume and then changing its color causes the error. Coloring molecular surface does not have this problem.