﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1514	StructureArg parsing: name 'AnnotationError' is not defined	tic20@…	Eric Pettersen	"{{{
The following bug report has been submitted:
Platform:        Linux-3.10.0-862.el7.x86_64-x86_64-with-centos-7.5.1804-Core
ChimeraX Version: 0.8 (2018-12-06)
Description
Underlying error is mine, but it's not being handled correctly by `atomic`.

Log:
UCSF ChimeraX version: 0.8 (2018-12-06)  
How to cite UCSF ChimeraX  

> open before.pdb

before.pdb title:  
Crystal structure of etub from clostridium kluyveri [more info...]  
  
Chain information for before.pdb #1  
---  
Chain | Description  
A | predicted microcompartment protein  
  

> spotlight #1

Setting spotlight mode for model 1.3 to True  

> spotlight #1 false

Setting spotlight mode for model 1.3 to False  

> spotlight #1

Setting spotlight mode for model 1.3 to True  

> select up

Nothing selected  
Traceback (most recent call last):  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py"", line 229, in execute  
cmd.run(cmd_text)  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 2547, in run  
self._process_keyword_arguments(final, prev_annos)  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 2468, in
_process_keyword_arguments  
value, text = self._parse_arg(anno, text, session, final)  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/core/commands/cli.py"", line 2191, in _parse_arg  
value, replacement, rest = annotation.parse(text, session)  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/atomic/args.py"", line 126, in parse  
raise AnnotationError('Specified model is not a Structure')  
NameError: name 'AnnotationError' is not defined  
  
NameError: name 'AnnotationError' is not defined  
  
File ""/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/atomic/args.py"", line 126, in parse  
raise AnnotationError('Specified model is not a Structure')  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 390.77
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

}}}
"	defect	closed	normal		Command Line		fixed						all	ChimeraX
