Opened 6 years ago

Closed 6 years ago

#1919 closed defect (fixed)

Vseries not handling two-channel rendering correctly

Reported by: brandon.scott@… 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:        Windows-10-10.0.17134
ChimeraX Version: 0.9 (2019-03-08)
Description
Two channel rendering as a sub ID (ie 1.1 and 1.2) forces to one channel when playing as a vseries with one as a volume and the other as either a surface or mesh.

Log:
UCSF ChimeraX version: 0.9 (2019-03-08)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Opened map series
cell_CamB_ch0_stack0000_560nm_0000000msec_0010986113msecAbs_COR_decon.tif, 100
images, grid size 936,660,274, pixel 1, shown at level 102, step 4, values
uint16  
Opened map series
cell_CamB_ch1_stack0000_488nm_0000000msec_0010986113msecAbs_COR_decon.tif, 100
images, grid size 936,660,274, pixel 1, shown at level 327, step 4, values
uint16  
Opened multichannel map series
cell_CamB_ch0_stack0000_560nm_0000000msec_0010986113msecAbs_COR_decon.tif, 2
channels, 100 images per channel, grid size 936,660,274, pixel 1, shown at
level 102, step 4, values uint16  

> hide #!1 models

> hide #!2 models

> volume #4 style solid

No volumes specified  

> volume #3.2 style solid

> volume #3.2 style surface

> volume #3.2 level 55

> volume #3.1 level 110

Solid level must be <data-value,brightness-level>  

> vseries play #3

Traceback (most recent call last):  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\core\triggerset.py",
line 130, in invoke  
return self._func(self._name, data)  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\model_panel\tool.py",
line 123, in <lambda>  
lambda *args, ft=self._fill_tree, ar=always_rebuild: ft(always_rebuild=ar))  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\model_panel\tool.py",
line 147, in _fill_tree  
self._get_info(model, all_selected_models, part_selected_models)  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\model_panel\tool.py",
line 216, in _get_info  
bg_color = self._model_color(obj)  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\model_panel\tool.py",
line 239, in _model_color  
return model.single_color  
File "C:\Apps\ChimeraX\bin\lib\site-packages\chimerax\core\models.py", line
202, in _get_single_color  
return self.color if self.vertex_colors is None else None  
File "C:\Apps\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py", line 511, in get_color  
return self._colors[0]  
TypeError: 'NoneType' object is not subscriptable  
  
Error processing trigger "frame drawn": 'NoneType' object is not
subscriptable:  
TypeError: 'NoneType' object is not subscriptable  
  
File "C:\Apps\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\drawing.py", line 511, in get_color  
return self._colors[0]  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 419.67
OpenGL renderer: Quadro M4000/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedVolume Data
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionVseries not handling two-channel rendering correctly

comment:2 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed I think in tonight's builds.

The volume code has changed after your 2 month old ChimeraX was released so I get a a different error in today's build. I've fixed today's error and I can play a two channel series with one channel as surface style and the other as image style.

Note: See TracTickets for help on using tickets.