mailr3114 - /1.3/data/pipe_container.py


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

Header


Content

Posted by edward on March 08, 2007 - 06:44:
Author: bugman
Date: Thu Mar  8 06:43:31 2007
New Revision: 3114

URL: http://svn.gna.org/viewcvs/relax?rev=3114&view=rev
Log:
Shifted all the objects of PipeContainer from the instance scope to the class 
scope.


Modified:
    1.3/data/pipe_container.py

Modified: 1.3/data/pipe_container.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/pipe_container.py?rev=3114&r1=3113&r2=3114&view=diff
==============================================================================
--- 1.3/data/pipe_container.py (original)
+++ 1.3/data/pipe_container.py Thu Mar  8 06:43:31 2007
@@ -30,34 +30,33 @@
 
 
 class PipeContainer:
-    def __init__(self):
-        """Class containing all the program data."""
+    """Class containing all the program data."""
 
-        # PDB data.
-        self.pdb = SpecificData()
+    # PDB data.
+    pdb = SpecificData()
 
-        # Diffusion data.
-        self.diff = DiffTensorData()
+    # Diffusion data.
+    diff = DiffTensorData()
 
-        # The residue specific data.
-        self.res = Residue()
+    # The residue specific data.
+    res = Residue()
 
-        # The name of the runs.
-        self.run_names = []
+    # The name of the runs.
+    run_names = []
 
-        # The type of the runs.
-        self.run_types = []
+    # The type of the runs.
+    run_types = []
 
-        # Hybrid models.
-        self.hybrid_runs = {}
+    # Hybrid models.
+    hybrid_runs = {}
 
-        # Global minimisation statistics.
-        self.chi2 = {}
-        self.iter = {}
-        self.f_count = {}
-        self.g_count = {}
-        self.h_count = {}
-        self.warning = {}
+    # Global minimisation statistics.
+    chi2 = {}
+    iter = {}
+    f_count = {}
+    g_count = {}
+    h_count = {}
+    warning = {}
 
 
     def __repr__(self):




Related Messages


Powered by MHonArc, Updated Thu Mar 08 07:00:09 2007