"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/_gui.py" between
pymol-v2.1.0.tar.bz2 and pymol-open-source-2.2.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

_gui.py  (pymol-v2.1.0.tar.bz2):_gui.py  (pymol-open-source-2.2.0)
skipping to change at line 79 skipping to change at line 79
('50%', 0.5), ('60%', 0.6), ('80%', 0.8) ] ('50%', 0.5), ('60%', 0.6), ('80%', 0.8) ]
] ]
file_browser_cmd = ( file_browser_cmd = (
'explorer .' if sys.platform == 'win32' else 'explorer .' if sys.platform == 'win32' else
'open .' if sys.platform == 'darwin' else 'open .' if sys.platform == 'darwin' else
'xdg-open .') 'xdg-open .')
return [ return [
('menu', 'File', [ ('menu', 'File', [
('command', 'New PyMOL Window', self.new_window), ('menu', 'New PyMOL Window', [
('command', 'Default', self.new_window),
('command', 'Ignore .pymolrc and plugins (-k)', lambda: self
.new_window(('-k',))),
]),
('separator',), ('separator',),
('command', 'Open...', self.file_open), ('command', 'Open...', self.file_open),
('open_recent_menu',), ('open_recent_menu',),
('command', 'Get PDB...', self.file_fetch_pdb) , ('command', 'Get PDB...', self.file_fetch_pdb) ,
('separator',), ('separator',),
('command', 'Save Session', self.session_save), ('command', 'Save Session', self.session_save),
('command', 'Save Session As...', self.session_save_as ), ('command', 'Save Session As...', self.session_save_as ),
('separator',), ('separator',),
('command', 'Export Molecule...', self.file_save), ('command', 'Export Molecule...', self.file_save),
('command', 'Export Map...', self.file_save_map ), ('command', 'Export Map...', self.file_save_map ),
skipping to change at line 629 skipping to change at line 632
]), ]),
('menu', 'Surface', [ ('menu', 'Surface', [
('menu', 'Color', [ ('menu', 'Color', [
('radio', 'White', 'surface_color', 0), # white ('radio', 'White', 'surface_color', 0), # white
('radio', 'Light Gray', 'surface_color', 4236), # gray80 ('radio', 'Light Gray', 'surface_color', 4236), # gray80
('radio', 'Gray', 'surface_color', 25), # gray ('radio', 'Gray', 'surface_color', 25), # gray
('radio', 'Default (Atomic)', 'surface_color', -1), ('radio', 'Default (Atomic)', 'surface_color', -1),
]), ]),
('radio', 'Dot', 'surface_type', 1), ('radio', 'Dot', 'surface_type', 1),
('radio', 'Wireframe', 'surface_type', 2), ('radio', 'Wireframe', 'surface_type', 2),
('radio', 'Solid', 'surface_type', 1), ('radio', 'Solid', 'surface_type', 0),
('separator',), ('separator',),
('radio', 'Cavities and Pockets Only', 'surface_cavity_mode' , 1), ('radio', 'Cavities and Pockets Only', 'surface_cavity_mode' , 1),
('radio', 'Cavities and Pockets (Culled)', 'surface_cavity_m ode', 2), ('radio', 'Cavities and Pockets (Culled)', 'surface_cavity_m ode', 2),
('menu', 'Cavity Detection Radius', [ ('menu', 'Cavity Detection Radius', [
('radio', str(val) + ' Angstrom', 'surface_cavity_radius ', val) ('radio', str(val) + ' Angstrom', 'surface_cavity_radius ', val)
for val in [7] for val in [7]
] + [ ] + [
('radio', str(val) + ' Solvent Radii', 'surface_cavity_r adius', -val) ('radio', str(val) + ' Solvent Radii', 'surface_cavity_r adius', -val)
for val in [3, 4, 5, 6, 8, 10, 20] for val in [3, 4, 5, 6, 8, 10, 20]
]), ]),
skipping to change at line 824 skipping to change at line 827
('command', '1 Button Viewing Mode', lambda: cmd.mouse('one_butt on_viewing')), ('command', '1 Button Viewing Mode', lambda: cmd.mouse('one_butt on_viewing')),
('command', 'Emulate Maestro', lambda: cmd.mouse('three_button_m aestro')), ('command', 'Emulate Maestro', lambda: cmd.mouse('three_button_m aestro')),
('separator',), ('separator',),
('check', 'Virtual Trackball', 'virtual_trackball'), ('check', 'Virtual Trackball', 'virtual_trackball'),
('check', 'Show Mouse Grid', 'mouse_grid'), ('check', 'Show Mouse Grid', 'mouse_grid'),
('check', 'Roving Origin', 'roving_origin'), ('check', 'Roving Origin', 'roving_origin'),
]), ]),
('menu', 'Wizard', [ ('menu', 'Wizard', [
('command', 'Appearance', 'wizard appearance'), ('command', 'Appearance', 'wizard appearance'),
('command', 'Measurement', 'wizard measurement'), ('command', 'Measurement', 'wizard measurement'),
('command', 'Mutagenesis', 'wizard mutagenesis'), ('menu', 'Mutagenesis', [
('command', 'Protein', 'wizard mutagenesis'),
('command', 'Nucleic Acids', 'wizard nucmutagenesis'),
]),
('command', 'Pair Fitting', 'wizard pair_fit'), ('command', 'Pair Fitting', 'wizard pair_fit'),
('separator',), ('separator',),
('command', 'Density', 'wizard density'), ('command', 'Density', 'wizard density'),
('command', 'Filter', 'wizard filter'), ('command', 'Filter', 'wizard filter'),
('command', 'Sculpting', 'wizard sculpting'), ('command', 'Sculpting', 'wizard sculpting'),
('separator',), ('separator',),
('command', 'Cleanup', 'wizard cleanup'), ('command', 'Cleanup', 'wizard cleanup'),
('separator',), ('separator',),
('command', 'Label', 'wizard label'), ('command', 'Label', 'wizard label'),
('command', 'Charge', 'wizard charge'), ('command', 'Charge', 'wizard charge'),
 End of changes. 3 change blocks. 
3 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)