Author: bugman Date: Wed Nov 21 14:37:13 2007 New Revision: 3763 URL: http://svn.gna.org/viewcvs/relax?rev=3763&view=rev Log: Created the Align_tensor class for the implementation of the align_tensor user functions. Added: branches/N_state_model/prompt/align_tensor.py Added: branches/N_state_model/prompt/align_tensor.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/prompt/align_tensor.py?rev=3763&view=auto ============================================================================== --- branches/N_state_model/prompt/align_tensor.py (added) +++ branches/N_state_model/prompt/align_tensor.py Wed Nov 21 14:37:13 2007 @@ -1,0 +1,43 @@ +############################################################################### +# # +# Copyright (C) 2007 Edward d'Auvergne # +# # +# This file is part of the program relax. # +# # +# relax is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# relax is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with relax; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +############################################################################### + +# Python module imports. +import sys + +# relax module imports. +import help + + +class Align_tensor: + def __init__(self, relax): + # Help. + self.__relax_help__ = \ + """Class for manipulating the alignment tensor.""" + + # Add the generic help string. + self.__relax_help__ = self.__relax_help__ + "\n" + help.relax_class_help + + # Place relax in the class namespace. + self.__relax__ = relax + + +