Opened 5 years ago

Closed 5 years ago

#3261 closed defect (fixed)

Make model-panel coloring issue command

Reported by: olibclarke@… Owned by: pett
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.93 (2020-04-03)
Description
Hi,

When I edit the color of a model or selection, by clicking the color well in the model panel, no color command is issued to the log. 

By contrast, if I edit the color of a volume by clicking the color well in the Volume Viewer, color commands are printed to the log.

Also, Tom mentioned on the chimeraxbb that this works correctly when usoing the Actions>Color menu - I do not have a Color submenu in the Action menu. Perhaps this was added in the 1.0 release candidate cycle? I am using the stable release (0.93) for compatibility with ISOLDE.

Cheers
Oli

Log:
> camera ortho

> cofr centerOfView

> alias focus view cofr false

> alias crosshair_on cofr centerofview showpivot true

> alias crosshair_off cofr centerofview showpivot false

> alias symclip clip near -$1 far $1 position cofr

> alias cootmode_wire ~rib; disp; color gold; color byhet; size #* stickradius
> 0.08; volume #* capfaces false style mesh meshlighting false squaremesh
> false color #307fff step 1; surface cap false; lighting flat depthcue true
> depthcuestart 0.2 depthcueend 1.0; graphics silhouettes false; set bgcolor
> black; symclip 15

> alias cootmode_surf ~rib; disp; color gold; color byhet; size #* stickradius
> 0.08; volume #* capfaces false style surface color #307fff3c step 1; surface
> cap false; lighting flat depthcue true depthcuestart 0.2 depthcueend 1.0;
> graphics silhouettes false; set bgcolor black; symclip 15

> alias cootmode_surf_white ~rib; disp; color orange red; color byhet; size #*
> stickradius 0.08; volume #* capfaces false style surface color #002fff3d
> step 1; surface cap false; lighting flat depthcue true depthcuestart 0.2
> depthcueend 1.0; graphics silhouettes false; set bgcolor white; symclip 15

UCSF ChimeraX version: 0.93 (2020-04-03)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "/Users/olibclarke1/Library/Application Support/ChimeraX/0.93/site-
> packages/chimerax/isolde/demo_data/6out/6out.pdb"

6out.pdb title:  
Asymmetric focused reconstruction of human norovirus gi.1 norwalk strain VLP
asymmetric unit In T=3 symmetry [more info...]  
  
Chain information for 6out.pdb #1  
---  
Chain | Description  
A B C | capsid protein VP1  
  

> open "/Users/olibclarke1/Dropbox/chimera
> models/resolve_cryoem_2_b_blur_100.mrc" format mrc

Opened resolve_cryoem_2_b_blur_100.mrc, grid size 320,320,320, pixel 0.83,
shown at level 0.0236, step 2, values float32  

> cootmode_surf_white

Changed 11622 bond radii  

> volume #2 color #051c843d

> volume #2 color #051c853d

> volume #2 color #051d883d

> volume #2 color #041e933d

> volume #2 color #041f973d

> volume #2 color #04209c3d

> volume #2 color #04209e3d

> volume #2 color #04209e3e

> volume #2 color #04209e42

> ui mousemode rightMode clip

> close all

> open "/Users/olibclarke1/Dropbox/chimera
> models/oli_initial.updated_modified_real_space_refined.pdb" format PDB

Chain information for oli_initial.updated_modified_real_space_refined.pdb #1  
---  
Chain | Description  
B | No description available  
D | No description available  
  

> open "/Users/olibclarke1/Dropbox/chimera
> models/resolve_cryoem_2_b_blur_100.mrc" format mrc

Opened resolve_cryoem_2_b_blur_100.mrc, grid size 320,320,320, pixel 0.83,
shown at level 0.0236, step 2, values float32  

> cootmode_surf

Changed 6192 bond radii  

> symclip 10

> help help:user/preferences.html#clipping

> select #2

2 models selected  

> select #2

2 models selected  

> select clear

> select #2

2 models selected  

> select clear

> select up

2 atoms, 1 bond, 1 model selected  

> select up

7 atoms, 6 bonds, 1 model selected  

> select up

118 atoms, 120 bonds, 1 model selected  

> select up

3995 atoms, 4115 bonds, 1 model selected  




OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro 5500M OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by pett, 5 years ago

Cc: pett added
Component: UnassignedGeneral Controls
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionMake model-panel coloring issue command

The model panel is setting model.single_color, for which AFAIK there is no command equivalent. I guess the plan is for Tom to create such a command, and then reassign the ticket to me and I'll have the model panel use the command.

comment:2 by Tom Goddard, 5 years ago

Cc: Tom Goddard added; pett removed
Owner: changed from Tom Goddard to pett

Ok, I added a "color single [models [color]]" command a few weeks ago.

Would be nice to have the command logged (for 1.2) -- this caused yesterday's VR meeting with Mike Schmid not to synchronize his change to map color using the Model Panel color button. I was pretty confused when he said he had changed the color and for me it was still the previous per-vertex coloring.

comment:3 by pett, 5 years ago

Resolution: fixed
Status: assignedclosed

Model Panel now issues "color single" commands for the color buttons. Available in tomorrow's build

Note: See TracTickets for help on using tickets.