﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
788	"hbonds ""selrestrict both"" causes error"	Elaine Meng	Eric Pettersen	"This may be moot since you're getting rid of the selrestrict option, but thought I should report it.  Example:

open 1zik
sel /a
hb selres both

40 hydrogen bonds found
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 177, 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 2395, 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 137, in cmd_hbonds
pbg.dashes = dashes if dashes is not None else AtomicStructure.default_hbond_dashes
UnboundLocalError: local variable 'AtomicStructure' referenced before assignment
"	defect	closed	major		Structure Analysis		fixed						all	ChimeraX
