Opened 6 years ago

Closed 6 years ago

#2112 closed defect (fixed)

ClipPlanes.set_clip_position argument change

Reported by: tic20@… Owned by:
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:        Linux-3.10.0-957.12.2.el7.x86_64-x86_64-with-centos-7.6.1810-Core
ChimeraX Version: 0.91 (2019-06-25)
Description
Today's daily build, on loading ISOLDE's demo model.

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

> isolde start

> set selectionWidth 4

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

WARNING: multiple experimental reflection datasets found:  
(dataset) FOBS, SIGFOBS,  
(dataset) IOBS, SIGIOBS,  
(dataset) DANO, SIGDANO,  
(dataset) F(+), SIGF(+), F(-), SIGF(-),  
(dataset) I(+), SIGI(+), I(-), SIGI(-)  
Automatically choosing "(dataset) IOBS, SIGIOBS".  

Reflection data provided as intensities. Performing French & Wilson scaling to
convert to amplitudes...  
Traceback (most recent call last):  
File "/home/tic20/.local/share/ChimeraX/0.91/site-
packages/chimerax/isolde/isolde.py", line 3304, in load_demo_data  
view.focus_on_selection(self.session, before_struct.atoms)  
File "/home/tic20/.local/share/ChimeraX/0.91/site-
packages/chimerax/isolde/view.py", line 63, in focus_on_selection  
focus_on_coord(session, bounds.center(), bounds.radius()+pad)  
File "/home/tic20/.local/share/ChimeraX/0.91/site-
packages/chimerax/isolde/view.py", line 40, in focus_on_coord  
cp.set_clip_position('near', center - radius*vd, cam)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/core/graphics/clipping.py", line 65, in set_clip_position  
camera_point = view.camera.position.inverse() * point  
AttributeError: 'OrthographicCamera' object has no attribute 'camera'  
  
AttributeError: 'OrthographicCamera' object has no attribute 'camera'  
  
File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/chimerax/core/graphics/clipping.py", line 65, in set_clip_position  
camera_point = view.camera.position.inverse() * point  
  
See log for complete Python traceback.  
  
Done loading forcefield  




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

Change History (1)

comment:1 by Tristan Croll, 6 years ago

Component: UnassignedGraphics
Platform: all
Project: ChimeraX
Resolution: fixed
Status: newclosed
Summary: ChimeraX bug report submissionClipPlanes.set_clip_position argument change

Never mind - I see the last argument to set_clip_position() has changed from the Camera to the View. Easy fix on my side.

Note: See TracTickets for help on using tickets.