Author: bugman Date: Thu Feb 18 14:17:07 2010 New Revision: 10728 URL: http://svn.gna.org/viewcvs/relax?rev=10728&view=rev Log: Separated the stereochem_analysis auto-analysis execution into the run() method. This leaves __init__() with the job of setting up the class. Modified: 1.3/auto_analyses/stereochem_analysis.py Modified: 1.3/auto_analyses/stereochem_analysis.py URL: http://svn.gna.org/viewcvs/relax/1.3/auto_analyses/stereochem_analysis.py?rev=10728&r1=10727&r2=10728&view=diff ============================================================================== --- 1.3/auto_analyses/stereochem_analysis.py (original) +++ 1.3/auto_analyses/stereochem_analysis.py Thu Feb 18 14:17:07 2010 @@ -64,11 +64,15 @@ """Class for performing the relative stereochemistry analysis.""" def __init__(self): - """Execute the given stage of the analysis.""" + """Set up the analysis.""" # Create a directory for log files. if LOG: mkdir_nofail("logs") + + + def run(self): + """Execute the given stage of the analysis.""" # Sampling of snapshots. if STAGE == 1: