mailr13982 - /branches/gui_testing/gui/user_functions/structure.py


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

Header


Content

Posted by edward on July 29, 2011 - 09:52:
Author: bugman
Date: Fri Jul 29 09:52:54 2011
New Revision: 13982

URL: http://svn.gna.org/viewcvs/relax?rev=13982&view=rev
Log:
Removed combine_models from the structure.load_spins user function page as 
that arg no longer exists.


Modified:
    branches/gui_testing/gui/user_functions/structure.py

Modified: branches/gui_testing/gui/user_functions/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/structure.py?rev=13982&r1=13981&r2=13982&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/structure.py (original)
+++ branches/gui_testing/gui/user_functions/structure.py Fri Jul 29 09:52:54 
2011
@@ -145,10 +145,6 @@
         # The spin_id arg.
         self.spin_id = self.spin_id_element(sizer, default='@N')
 
-        # The combine_models arg.
-        self.combine_models = self.boolean_selector(sizer, "Combine spins of 
all models:", tooltip=self.uf._doc_args_dict['combine_models'])
-        self.combine_models.SetValue('True')
-
         # The ave_pos arg.
         self.ave_pos = self.boolean_selector(sizer, "Average the atom 
position across models:", tooltip=self.uf._doc_args_dict['ave_pos'])
         self.ave_pos.SetValue('True')
@@ -159,11 +155,10 @@
 
         # The args.
         spin_id = gui_to_str(self.spin_id.GetValue())
-        combine_models = gui_to_bool(self.combine_models.GetValue())
         ave_pos = gui_to_bool(self.ave_pos.GetValue())
 
         # Execute the user function.
-        self.gui.interpreter.structure.load_spins(spin_id=spin_id, 
combine_models=combine_models, ave_pos=ave_pos)
+        self.gui.interpreter.structure.load_spins(spin_id=spin_id, 
ave_pos=ave_pos)
 
 
 




Related Messages


Powered by MHonArc, Updated Fri Jul 29 10:00:03 2011