Author: bugman Date: Thu Jan 10 15:54:12 2008 New Revision: 4586 URL: http://svn.gna.org/viewcvs/relax?rev=4586&view=rev Log: Removed a few empty __init__() class methods and shifted their docstrings to the class docstring. Modified: 1.3/data/data_classes.py 1.3/data/diff_tensor.py Modified: 1.3/data/data_classes.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/data_classes.py?rev=4586&r1=4585&r2=4586&view=diff ============================================================================== --- 1.3/data/data_classes.py (original) +++ 1.3/data/data_classes.py Thu Jan 10 15:54:12 2008 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2003-2004, 2006-2007 Edward d'Auvergne # +# Copyright (C) 2003-2004, 2006-2008 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -30,9 +30,7 @@ ####################### class Element: - def __init__(self): - """Empty data container.""" - + """Empty data container.""" def __repr__(self): # Header. @@ -52,9 +50,7 @@ ###################### class SpecificData(DictType): - def __init__(self): - """Dictionary type class for specific data.""" - + """Dictionary type class for specific data.""" def __repr__(self): text = "Data:\n" @@ -89,8 +85,7 @@ ######################## class Residue(DictType): - def __init__(self): - """Class containing all the residue specific data.""" + """Class containing all the residue specific data.""" def __repr__(self): @@ -117,9 +112,7 @@ class ResidueList(ListType): - def __init__(self): - """Empty data container for residue specific data.""" - + """Empty data container for residue specific data.""" def __repr__(self): text = "Sequence data.\n\n" Modified: 1.3/data/diff_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/diff_tensor.py?rev=4586&r1=4585&r2=4586&view=diff ============================================================================== --- 1.3/data/diff_tensor.py (original) +++ 1.3/data/diff_tensor.py Thu Jan 10 15:54:12 2008 @@ -551,11 +551,10 @@ ################################# class DiffTensorData(Element): - def __init__(self): - """An empty data container for the diffusion tensor elements.""" - - # Set the initial diffusion type to None. - self.type = None + """An empty data container for the diffusion tensor elements.""" + + # Set the initial diffusion type to None. + type = None def __setattr__(self, name, value):