Opened 6 years ago

Closed 6 years ago

#2062 closed enhancement (fixed)

Add include maps option to save file dialog

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

Description

The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-06-12)
Description
Hi, I have a minor feature request for the save dialog.

Would it be possible to add a checkbox for the "includeMaps" keyword when saving a session? 

The ability to save a sharable, self contained session including map data is a major advantage of ChimeraX over Chimera in my view, and I think this should be exposed in the GUI. Obviously the default should be to leave this option unchecked, but this would make this option much easier to discover and use for those who need it.

This would also allow me, for example, to include a cxs file as supplementary data for a paper, with notes and defined scenes and views to guide users who might not be as familiar with how to load, visualize and interpret structural data.

Cheers
Oli

Log:
> camera ortho

> cofr centerOfView

> volume voxelLimit 100000 showPlane false limitVoxelCount false
voxelLimitForOpen 10000

> alias crosshairs_on log text crosshairs_on: displays crosshairs at center of
rotation and places cofr at center of view; cofr centerofview showpivot 5,0.2

> alias crosshairs_off cofr centerofview showpivot false

> alias cootmode volume style mesh step 1 squaremesh false meshlighting true
twosidedlighting false capfaces false; surface cap false; size stickradius
0.05; ~rib; color gold target a; color byhet; lighting flat; lighting
depthcuestart 0.2 depthcueend 0.7; set silhouettes false; set subdivision 1;
crosshairs_on; color #3333851effff target s; style stick; set bgcolor black

> alias cootmode_white volume style mesh step 1 squaremesh false meshlighting
true twosidedlighting false capfaces false; surface cap false; size
stickradius 0.05; ~rib; color orange target a; color byhet; lighting flat;
lighting depthcuestart 0.2 depthcueend 0.7; set silhouettes false; set
subdivision 1; crosshairs_on; color #00000000cccc target s; style stick; set
bgcolor white

> alias carve surface zone #* nearatoms sel distance $1 maxcomponents 1

> alias uncarve surface unzone #*

> alias focus view cofr false

> alias saturation_down color modify $1 saturation - 10

> alias saturation_up color modify $1 saturation + 10

> alias lightness_up color modify $1 lightness + 5

> alias lightness_down color modify $1 lightness - 5

> alias hue_up color modify $1 hue + 5

> alias hue_down color modify $1 hue - 5

UCSF ChimeraX version: 0.91 (2019-06-12)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/oliverclarke/Dropbox/best_new_4cmc_combined_pixcorr.mrc

Opened best_new_4cmc_combined_pixcorr.mrc, grid size 512,512,512, pixel 1.06,
shown at level 0.0133, step 2, values float32  

> set bgColor black

> color "cornflower blue"

> lighting soft

> zoom 1.1

> zoom 1.1

> zoom 1.1

> toolshed show "Side View"

> set subdivision 100

> lighting full

> lighting soft

> help surface

> surface dust #1 size 5

> surface dust #1 size 3

> save image /Users/oliverclarke/Desktop/top.png width 4000 height 4000
supersample 4

> turn x -90

> surface dust #1 size 2

> surface dust #1 size 1

> surface dust #1 size 10

> save image /Users/oliverclarke/Desktop/side.png width 4000 height 4000
supersample 4

> turn x 90

> save image /Users/oliverclarke/Desktop/top.png width 4000 height 4000
supersample 4

> help save




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (4)

comment:1 by pett, 6 years ago

Cc: chimera-programmers added
Component: UnassignedInput/Output
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionOpen/Save options in GUI

Hi Oliver,

We have been aware of the need to expose the open/save options in the graphical user interface for some time, but have only very recently (mostly) decided on a scheme to implement it. The major hurdle is that bundles that have nothing to do with the user interface's save dialog may add options to the open or save commands, yet somehow the save dialog needs to expose those. Anyway, we now have a plan, and thanks to you we also have a ticket to track it with. :-)

--Eric

comment:2 by pett, 6 years ago

Type: defectenhancement

comment:3 by Tom Goddard, 6 years ago

Cc: chimera-programmers removed
Owner: changed from pett to Tom Goddard
Status: acceptedassigned
Summary: Open/Save options in GUIAdd include maps option to save file dialog

comment:4 by Tom Goddard, 6 years ago

Resolution: fixed
Status: assignedclosed

Done.

Added the include maps option to the save file dialog when saving sessions.

Note: See TracTickets for help on using tickets.