Author: bugman Date: Fri May 2 14:18:17 2014 New Revision: 22926 URL: http://svn.gna.org/viewcvs/relax?rev=22926&view=rev Log: Fix for bug #22004, the conformation_analysis_rdc+pcs.py N-state model sample script not working. This is reported at https://gna.org/bugs/?22004. The problem was that the return_api() function call needed to be after the creation of the data pipe. Modified: trunk/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py Modified: trunk/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py URL: http://svn.gna.org/viewcvs/relax/trunk/sample_scripts/n_state_model/conformation_analysis_rdc%2Bpcs.py?rev=22926&r1=22925&r2=22926&view=diff ============================================================================== --- trunk/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py (original) +++ trunk/sample_scripts/n_state_model/conformation_analysis_rdc+pcs.py Fri May 2 14:18:17 2014 @@ -38,11 +38,11 @@ from specific_analyses.api import return_api +# Create the data pipe. +pipe.create('lactose', 'N-state') + # The specific analysis API object. api = return_api() - -# Create the data pipe. -pipe.create('lactose', 'N-state') # Load all PDB structures from the current directory. files = listdir(getcwd())