Author: bugman Date: Sun Jul 6 02:29:13 2008 New Revision: 6783 URL: http://svn.gna.org/viewcvs/relax?rev=6783&view=rev Log: A few fixes for the 'final' run of the full_analysis.py script. Modified: 1.3/sample_scripts/full_analysis.py Modified: 1.3/sample_scripts/full_analysis.py URL: http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/full_analysis.py?rev=6783&r1=6782&r2=6783&view=diff ============================================================================== --- 1.3/sample_scripts/full_analysis.py (original) +++ 1.3/sample_scripts/full_analysis.py Sun Jul 6 02:29:13 2008 @@ -321,9 +321,6 @@ # Load the diffusion model results. results.read(file='results', dir=model + '/round_' + `self.round` + '/opt') - # Create the data pipe for model selection (which will be a copy of the selected diffusion model or data pipe). - pipe.create('final', 'mf') - # Model selection between MI to MV. self.model_selection(modsel_pipe='final', write_flag=False) @@ -331,8 +328,8 @@ # Monte Carlo simulations. ########################## - # Fix the diffusion tensor (if it exists!). - if ds.diff.has_key('final'): + # Fix the diffusion tensor, if it exists. + if hasattr(ds['final'], 'diff_tensor'): fix('diff') # Simulations.