Opened 8 years ago

Closed 8 years ago

#743 closed defect (fixed)

hbonds intramol f gives traceback

Reported by: Elaine Meng Owned by: Eric Pettersen
Priority: major Milestone:
Component: Structure Analysis Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Example:
open 1zik
hb intramol f

hbonds intraMol false
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 178, 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 2366, 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/hbonds/cmd.py", line 70, in cmd_hbonds
for m in s.molecules:
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molobject.py", line 1579, in molecules
return tuple(Atoms(ra) for aa in atom_arrays)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molobject.py", line 1579, in <genexpr>
return tuple(Atoms(ra) for aa in atom_arrays)
NameError: name 'ra' is not defined

NameError: name 'ra' is not defined

File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molobject.py", line 1579, in
return tuple(Atoms(ra) for aa in atom_arrays)

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs@… and describe what you were doing and include a copy of the contents of the log.

Change History (2)

comment:1 by Eric Pettersen, 8 years ago

Status: assignedaccepted

comment:2 by Eric Pettersen, 8 years ago

Resolution: fixed
Status: acceptedclosed

Fixed typo

Note: See TracTickets for help on using tickets.