Opened 7 years ago

Closed 7 years ago

#1589 closed defect (fixed)

Selection demotion: Drawing: can't set attribute

Reported by: pett Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics 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.9 (2019-01-02)
Description
Trying to demote the selection

Log:
UCSF ChimeraX version: 0.9 (2019-01-02)  
How to cite UCSF ChimeraX  

> open 3fx2 format mmCIF fromDatabase pdb

3fx2 title:  
Comparison of the crystal structures of A flavodoxin In its three oxidation
states At cryogenic temperatures [more info...]  
  
Chain information for 3fx2 #1  
---  
Chain | Description  
A | flavodoxin  
  
Non-standard residues in 3fx2 #1  
---  
FMN — flavin mononucleotide (riboflavin monophosphate)  
  
  

> distance /A:114@OD1 /A:349@O

Distance between /A ASN 114 OD1 and HOH 349 O: 2.958Å  

> distance /A:335@O /A:383@O

Distance between /A HOH 335 O and HOH 383 O: 8.141Å  

> select up

1386 atoms, 1152 bonds selected  

> select up

1386 atoms, 1152 bonds, 2 pseudobonds, 1 model selected  

> select down

Traceback (most recent call last):  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/ui/gui.py", line 243, in forward_keystroke  
run(self.session, 'select down')  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/run.py", line 31, in run  
results = command.run(text, log=log)  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/commands/cli.py", line 2612, in run  
result = ci.function(session, **kw_args)  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/std_commands/select.py", line 162, in select_down  
session.selection.demote(session)  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/selection.py", line 63, in demote  
self._promotion.demote_selection()  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/selection.py", line 191, in demote_selection  
p.demote()  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/selection.py", line 221, in demote  
m.selected_positions = self._prev_selected  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py", line 228, in __setattr__  
super(Drawing, self).__setattr__(key, value)  
AttributeError: can't set attribute  
  
AttributeError: can't set attribute  
  
File
"/Users/pett/src/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/graphics/drawing.py", line 228, in __setattr__  
super(Drawing, self).__setattr__(key, value)  
  
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, 7 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSelection demotion: Drawing: can't set attribute

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Note: See TracTickets for help on using tickets.