Opened 6 years ago

Closed 6 years ago

#2287 closed defect (duplicate)

Swapaa: template atom is None

Reported by: tic20@… Owned by: pett
Priority: normal Milestone:
Component: Structure Editing Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-3.10.0-957.12.2.el7.x86_64-x86_64-with-centos-7.6.1810-Core
ChimeraX Version: 0.91 (2019-07-27)
Description
Trying to mutate a GLY to GLU raises an error

Log:
UCSF ChimeraX version: 0.91 (2019-07-27)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open working_through_401.pdb

Chain information for working_through_401.pdb #1  
---  
Chain | Description  
A | No description available  
  

> select :GLY

336 atoms, 291 bonds, 1 model selected  

> select /A:353

7 atoms, 6 bonds, 1 model selected  

> swapaa sel GLU

Using Dunbrack library  
/A GLY 353: phi -175.8, psi 173.2 trans  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py", line 254, in execute  
cmd.run(cmd_text)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2655, in run  
result = ci.function(session, **kw_args)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/cmd.py", line 52, in swap_aa  
preserve=preserve, hbond_relax=relax, retain=retain)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/swap_res.py", line 53, in swap_aa  
rots = get_rotamers(session, res, res_type=r_type, lib=lib, log=log)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/swap_res.py", line 222, in
get_rotamers  
array([ta.scene_coord for ta in res_match_atoms]))  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/swap_res.py", line 222, in
<listcomp>  
array([ta.scene_coord for ta in res_match_atoms]))  
AttributeError: 'NoneType' object has no attribute 'scene_coord'  
  
AttributeError: 'NoneType' object has no attribute 'scene_coord'  
  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/swap_res.py", line 222, in  
array([ta.scene_coord for ta in res_match_atoms]))  
  
See log for complete Python traceback.  
  




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

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedStructure Editing
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionSwapaa: template atom is None

comment:2 by pett, 6 years ago

Resolution: duplicate
Status: acceptedclosed

This was fixed on Thursday (so fixed as of the 8/2 builds)

Note: See TracTickets for help on using tickets.