Author: bugman Date: Sat Oct 11 18:18:08 2008 New Revision: 7596 URL: http://svn.gna.org/viewcvs/relax?rev=7596&view=rev Log: Converted the Dasha user function class prompt interface to the new design. Modified: 1.3/prompt/dasha.py Modified: 1.3/prompt/dasha.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/dasha.py?rev=7596&r1=7595&r2=7596&view=diff ============================================================================== --- 1.3/prompt/dasha.py (original) +++ 1.3/prompt/dasha.py Sat Oct 11 18:18:08 2008 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2005-2006 Edward d'Auvergne # +# Copyright (C) 2005-2008 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -25,6 +25,7 @@ # relax module imports. import help +from generic_fns import dasha from relax_errors import RelaxBinError, RelaxNoneStrError, RelaxStrError @@ -96,7 +97,7 @@ raise RelaxBoolError, ('force flag', force) # Execute the functional code. - self.__relax__.generic.dasha.create(algor=algor, dir=dir, force=force) + dasha.create(algor=algor, dir=dir, force=force) def execute(self, dir=None, force=False, binary='dasha'): @@ -148,7 +149,7 @@ raise RelaxStrError, ('Dasha binary', binary) # Execute the functional code. - self.__relax__.generic.dasha.execute(dir=dir, force=force, binary=binary) + dasha.execute(dir=dir, force=force, binary=binary) def extract(self, dir=None): @@ -172,4 +173,4 @@ raise RelaxNoneStrError, ('directory name', dir) # Execute the functional code. - self.__relax__.generic.dasha.extract(dir=dir) + dasha.extract(dir=dir)