"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pmg_qt/file_dialogs.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.

file_dialogs.py  (pymol-v2.1.0.tar.bz2):file_dialogs.py  (pymol-open-source-2.2.0)
skipping to change at line 47 skipping to change at line 47
elif format == 'mtz': elif format == 'mtz':
load_mtz_dialog(parent, fname) load_mtz_dialog(parent, fname)
else: else:
if format in ('pse', 'psw') and not ask_partial(parent, kwargs, fname): if format in ('pse', 'psw') and not ask_partial(parent, kwargs, fname):
return return
if format in ('pml', 'py', 'pym'): if format in ('pml', 'py', 'pym'):
parent.cmd.cd(parent.initialdir, quiet=0) parent.cmd.cd(parent.initialdir, quiet=0)
try: try:
parent.cmd.load(fname, **kwargs) parent.cmd.load(fname, quiet=0, **kwargs)
except BaseException as e: except BaseException as e:
QtWidgets.QMessageBox.critical(parent, "Error", str(e)) QtWidgets.QMessageBox.critical(parent, "Error", str(e))
return return
# auto-load desmond trajectory # auto-load desmond trajectory
if fname.endswith('-out.cms'): if fname.endswith('-out.cms'):
traj = os.path.join(fname[:-8] + '_trj', 'clickme.dtr') traj = os.path.join(fname[:-8] + '_trj', 'clickme.dtr')
if os.path.exists(traj): if os.path.exists(traj):
load_traj_dialog(parent, traj) load_traj_dialog(parent, traj)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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