Opened 7 years ago

Closed 7 years ago

#1530 closed defect (fixed)

volume surfaceSmoothing command: cannot import name 'smooth_vertex_positions'

Reported by: chimerax-bug-report@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Volume Data 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-862.9.1.el7.x86_64-x86_64-with-centos-7.5.1804-Core
ChimeraX Version: 0.8 (2018-12-12)
Description
(Describe the actions that caused this problem to occur here)

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

> open /home/xujw/Documents/CIS/figures/cyanoCIS_sheath_extended.cxs format
session

opened ChimeraX session  

> show selAtoms

> delete #1/A:1-379

> delete #1/A:427-550

> hide selAtoms ribbons

> color #1 byelement

> molmap #1 5

> volume multiply #2 #3

> close #3

> lighting shadows true intensity 0.5

> lighting soft

> lighting full

> lighting soft

> lighting shadows true intensity 0.5

> lighting simple

> lighting simple

> lighting shadows true

> lighting shadows false

> set silhouettes false

> lighting flat

> lighting full

> lighting soft

> lighting shadows true intensity 0.5

> lighting simple

Expected a keyword  

Missing "surfaceSmoothing" keyword's argument  

> volume #4 surfaceSmoothing true

Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/core/triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 3377, in _update_drawings  
v.update_drawings()  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 651, in update_drawings  
self._update_surfaces()  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 666, in _update_surfaces  
s.update_surface(show_mesh, ro)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 1813, in update_surface  
va, na, ta, hidden_edges = self._calculate_contour_surface(matrix, level,
rendering_options)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 1908, in _calculate_contour_surface  
rendering_options, level)  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 1943, in _adjust_surface_geometry  
from chimerax.surface import smooth_vertex_positions  
ImportError: cannot import name 'smooth_vertex_positions'  
  
Error processing trigger "graphics update": cannot import name
'smooth_vertex_positions':  
ImportError: cannot import name 'smooth_vertex_positions'  
  
File "/opt/UCSF/ChimeraX-daily/lib/python3.6/site-
packages/chimerax/map/volume.py", line 1943, in _adjust_surface_geometry  
from chimerax.surface import smooth_vertex_positions  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 390.77
OpenGL renderer: GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionvolume surfaceSmoothing command: cannot import name 'smooth_vertex_positions'

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Surface smoothing C++ code had not been ported from Chimera to ChimeraX. Ported it.

Note: See TracTickets for help on using tickets.