Author: bugman Date: Wed Jun 29 17:39:12 2011 New Revision: 13317 URL: http://svn.gna.org/viewcvs/relax?rev=13317&view=rev Log: The Execute.run_analysis() base class method has been created. This raises a RelaxImplementError if called! Modified: branches/gui_testing/gui/analyses/execute.py Modified: branches/gui_testing/gui/analyses/execute.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/execute.py?rev=13317&r1=13316&r2=13317&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/execute.py (original) +++ branches/gui_testing/gui/analyses/execute.py Wed Jun 29 17:39:12 2011 @@ -23,10 +23,11 @@ # Module docstring. """Module containing the class for threaded and non-threaded analysis execution.""" - # Python module imports. from threading import Thread +# relax module imports. +from relax_errors import RelaxImplementError class Execute(Thread): @@ -78,3 +79,12 @@ # Execute the analysis. self.run_analysis() + + + def run_analysis(self): + """Execute the analysis + + This method must be overridden. + """ + + raise RelaxImplementError