﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
742	"hbonds selrestrict ""both"" or atomspec gives traceback"	Elaine Meng	Eric Pettersen	"However, selrestrict ""cross"" or ""any"" seem to be working fine.

Example:
open 1zik
sel solvent
disp
hb sel both
(or)
hb sel :tyr

gives something like:

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 42, in cmd_hbonds
if (not intermodel or sel_restrict == ""both"") and structures is None:
File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molarray.py"", line 126, in __eq__
return numpy.array_equal(atoms._pointers, self._pointers)
AttributeError: 'str' object has no attribute '_pointers'

AttributeError: 'str' object has no attribute '_pointers'

File ""/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/molarray.py"", line 126, in __eq__
return numpy.array_equal(atoms._pointers, self._pointers)

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu and describe what you were doing and include a copy of the contents of the log."	defect	closed	major		Structure Analysis		fixed						all	ChimeraX
