Opened 7 years ago

Closed 7 years ago

#1488 closed defect (fixed)

Old import of 'map'

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

Log:
Startup Messages  
---  
note | available bundle cache has not been initialized yet  
  
UCSF ChimeraX version: 0.7 (2018-08-07)  
OpenGL version: 3.3.0 NVIDIA 384.69  
OpenGL renderer: Quadro K600/PCIe/SSE2  
OpenGL vendor: NVIDIA Corporation  
How to cite UCSF ChimeraX  

open
/g/scb2/cmueller/sadian/structur/final_models_maps/CC1/relion3_maps/PIC_PostProcess/final/postprocess_PIC_unsharp_masked.mrc

Opened postprocess_PIC_unsharp_masked.mrc, grid size 380,380,380, pixel 1.04,
shown at level 0.0125, step 2, values float32  

set bgColor white

open
/g/scb2/cmueller/sadian/structur/final_models_maps/CC1/relion3_maps/PIC_PostProcess/final/res.mrc

Opened res.mrc, grid size 380,380,380, pixel 1.04, shown at level 9.05, step
2, values float32  

select #2

2 models selected  

ui mousemode rightMode translate selected models

select #2

2 models selected  

color samplee #1 map #2 palette redblue range 2,10

Map values for surface "level 0.01245": minimum 0, mean 0, maximum 0  
Traceback (most recent call last):  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py", line 205, in execute  
    cmd.run(cmd_text)  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/core/commands/cli.py", line 2561, in run  
    result = ci.function(session, **kw_args)  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/surface/colorvol.py", line 36, in color_sample  
    offset = offset, transparency = transparency, auto_update = update)  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/surface/colorvol.py", line 78, in _color_by_map_value  
    cs.set_vertex_colors()  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/surface/colorvol.py", line 203, in set_vertex_colors  
    s.vertex_colors = self.vertex_colors(report_stats)  
  File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/surface/colorvol.py", line 184, in vertex_colors  
    from chimerax.core import map  
ImportError: cannot import name 'map'  
  

ImportError: cannot import name 'map'  
  
File
"/g/easybuild/x86_64/CentOS/7/sandybridge/software/ChimeraX/0.7-foss-2018b/lib/python3.6/site-
packages/chimerax/surface/colorvol.py", line 184, in vertex_colors  
from chimerax.core import map  
  
See log for complete Python traceback.  
  
If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu and
describe what you were doing and include a copy of the contents of the log.
Don't include any data you wish to remain private since a publicly viewable
bug report will be created.  




OpenGL version: 3.3.0 NVIDIA 384.69
OpenGL renderer: Quadro K600/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedVolume Data
Milestone: 0.8
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionOld import of 'map'

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Bug in "color sample" command importing map module from chimerax.core instead of chimerax in 0.7 release.

Note: See TracTickets for help on using tickets.