Opened 9 years ago

Closed 9 years ago

#580 closed defect (fixed)

"rungs hide" traceback if scope broader than original "rungs" command

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

Description

... at least that's my guess, since if I use the same atomspec (or both blank) in the rungs hide command as in the original rungs command, I don't get the traceback... so it may be a rarer situation. Example of traceback:

open 5jrg
cartoon; hide
rungs nucleic
rungs hide

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 158, 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 2327, 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/rungs.py", line 73, in rungs_hide
if b.display:
AttributeError: 'NoneType' object has no attribute 'display'

Change History (1)

comment:1 by Tom Goddard, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Note: See TracTickets for help on using tickets.