Opened 8 years ago

Closed 8 years ago

#846 closed defect (fixed)

cartoon style splineNormals causes undo-manager error

Reported by: Elaine Meng Owned by: Conrad Huang
Priority: major Milestone:
Component: Depiction Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

UCSF ChimeraX version: 0.1 (2017-09-15)
OpenGL version: 4.1 NVIDIA-10.17.5 355.10.05.45f01
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine
OpenGL vendor: NVIDIA Corporation

open any protein, then try command

cartoon style spline t

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 189, 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 2405, 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/cartoon.py", line 524, in cartoon_style
undo_state_manager.add(m, "spline_normals", m.spline_normals, spline_normals)
NameError: name 'undo_state_manager' is not defined

Change History (1)

comment:1 by Conrad Huang, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 540987893. Typo.

Note: See TracTickets for help on using tickets.