Opened 6 years ago

Closed 6 years ago

#2448 closed defect (fixed)

"swapaa interactive spec same" buggy

Reported by: Elaine Meng 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:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-09-26)
Description
traceback using "swapaa inter"

open 2gbp format mmCIF fromDatabase pdb
sel :183@cb
swapaa inter sel same

Log:
Startup Messages  
---  
warning | 'rota' is a prefix of an existing command 'rotamers'  
  
UCSF ChimeraX version: 0.91 (2019-09-26)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 2gbp format mmCIF fromDatabase pdb

2gbp title:  
Sugar and signal-transducer binding sites of the escherichia coli galactose
chemoreceptor protein [more info...]  
  
Chain information for 2gbp #1  
---  
Chain | Description  
A | D-galactose/D-glucose binding protein  
  
Non-standard residues in 2gbp #1  
---  
BGC — β-D-glucose  
CA — calcium ion  
  
  

> select :183@cb

1 atom, 1 model selected  

> swapaa interactive sel same

Using Dunbrack library  
Traceback (most recent call last):  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py", line 254, in execute  
cmd.run(cmd_text)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2837, in run  
result = ci.function(session, **kw_args)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/cmd.py", line 105, in rotamers  
r_type = res.name  
NameError: name 'res' is not defined  
  
NameError: name 'res' is not defined  
  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/atomic/rotamers/command/cmd.py", line 105, in rotamers  
r_type = res.name  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine
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 submission"swapaa interactive spec same" buggy

comment:2 by pett, 6 years ago

Resolution: fixed
Status: acceptedclosed

It was a problem with the handling of "same" for swapaa interactive. Fixed now and already works if you give an explicit residue type.

Note: See TracTickets for help on using tickets.