mailr14470 - in /1.3/gui/user_functions: molmol.py pymol.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 26, 2011 - 11:20:
Author: bugman
Date: Fri Aug 26 11:20:54 2011
New Revision: 14470

URL: http://svn.gna.org/viewcvs/relax?rev=14470&view=rev
Log:
Fixes for the pymol.write and molmol.write user function GUI pages.

The directory argument to the user function back end is now set to None as 
otherwise it defaults to
a directory such as 'pymol' which is then incompatible with the absolute file 
path from the file
dialog.


Modified:
    1.3/gui/user_functions/molmol.py
    1.3/gui/user_functions/pymol.py

Modified: 1.3/gui/user_functions/molmol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/molmol.py?rev=14470&r1=14469&r2=14470&view=diff
==============================================================================
--- 1.3/gui/user_functions/molmol.py (original)
+++ 1.3/gui/user_functions/molmol.py Fri Aug 26 11:20:54 2011
@@ -373,4 +373,4 @@
         colour_list = gui_to_str(self.colour_list.GetValue())
 
         # Execute the user function.
-        self.gui.interpreter.queue('molmol.write', data_type=data_type, 
style=style, colour_start=colour_start, colour_end=colour_end, 
colour_list=colour_list, file=file, force=force)
+        self.gui.interpreter.queue('molmol.write', data_type=data_type, 
style=style, colour_start=colour_start, colour_end=colour_end, 
colour_list=colour_list, file=file, dir=dir, force=force)

Modified: 1.3/gui/user_functions/pymol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/pymol.py?rev=14470&r1=14469&r2=14470&view=diff
==============================================================================
--- 1.3/gui/user_functions/pymol.py (original)
+++ 1.3/gui/user_functions/pymol.py Fri Aug 26 11:20:54 2011
@@ -373,4 +373,4 @@
         colour_list = gui_to_str(self.colour_list.GetValue())
 
         # Execute the user function.
-        self.gui.interpreter.queue('pymol.write', data_type=data_type, 
style=style, colour_start=colour_start, colour_end=colour_end, 
colour_list=colour_list, file=file, force=force)
+        self.gui.interpreter.queue('pymol.write', data_type=data_type, 
style=style, colour_start=colour_start, colour_end=colour_end, 
colour_list=colour_list, file=file, dir=None, force=force)




Related Messages


Powered by MHonArc, Updated Fri Aug 26 11:40:02 2011