mailr10415 - /branches/bieri_gui/data/gui.py


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

Header


Content

Posted by edward on January 26, 2010 - 20:39:
Author: bugman
Date: Tue Jan 26 20:39:10 2010
New Revision: 10415

URL: http://svn.gna.org/viewcvs/relax?rev=10415&view=rev
Log:
Fixes to the Analyses() class.

The corresponding XML element is now correctly created.


Modified:
    branches/bieri_gui/data/gui.py

Modified: branches/bieri_gui/data/gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/data/gui.py?rev=10415&r1=10414&r2=10415&view=diff
==============================================================================
--- branches/bieri_gui/data/gui.py (original)
+++ branches/bieri_gui/data/gui.py Tue Jan 26 20:39:10 2010
@@ -56,9 +56,7 @@
 
         # Some generic initial names.
         self.list_name = 'analyses'
-        self.list_desc = 'List of relax analyses'
-        self.element_name = 'analysis'
-        self.element_desc = 'relax analysis'
+        self.list_desc = 'GUI information specific to relax analysis types'
 
 
     def add(self, type=None):
@@ -69,7 +67,7 @@
         """
 
         # Append an empty element.
-        self.append(Element())
+        self.append(Element(name='analysis', desc='GUI information for a 
relax analysis'))
 
-        # Set the analysis name.
-        self.name = type
+        # Set the analysis type.
+        self[-1].analysis_type = type




Related Messages


Powered by MHonArc, Updated Tue Jan 26 21:00:02 2010