Author: bugman Date: Wed Mar 7 11:30:13 2007 New Revision: 3090 URL: http://svn.gna.org/viewcvs/relax?rev=3090&view=rev Log: Added an import statement to the 'data/__init__.py' file to simplify the module. The class Data() can now be accessed by typing 'from data import Data' rather than 'from data.main import Data'. This will simplify the usage of this module for the data model redesign and allow file names in 'data/' to be changed without affecting the operation of the rest of relax. Modified: 1.3/data/__init__.py 1.3/relax Modified: 1.3/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/__init__.py?rev=3090&r1=3089&r2=3090&view=diff ============================================================================== --- 1.3/data/__init__.py (original) +++ 1.3/data/__init__.py Wed Mar 7 11:30:13 2007 @@ -20,6 +20,7 @@ # # ############################################################################### +from main import * __all__ = [ 'data_classes', 'diff_tensor', Modified: 1.3/relax URL: http://svn.gna.org/viewcvs/relax/1.3/relax?rev=3090&r1=3089&r2=3090&view=diff ============================================================================== --- 1.3/relax (original) +++ 1.3/relax Wed Mar 7 11:30:13 2007 @@ -65,7 +65,7 @@ # relax modules. from colour import Colour -from data.main import Data +from data import Data from io import IO from generic_fns.main import Generic from prompt.gpl import gpl