That is a more elegant solution ;) Cheers,
Edward On 2 May 2014 12:27, <[email protected]> wrote: > Author: tlinnet > Date: Fri May 2 12:27:04 2014 > New Revision: 22921 > > URL: http://svn.gna.org/viewcvs/relax?rev=22921&view=rev > Log: > Fix for path to sample data in sample script: > sample_scripts/relax_disp/cpmg_analysis.py. > > Modified: > trunk/sample_scripts/relax_disp/cpmg_analysis.py > > Modified: trunk/sample_scripts/relax_disp/cpmg_analysis.py > URL: > http://svn.gna.org/viewcvs/relax/trunk/sample_scripts/relax_disp/cpmg_analysis.py?rev=22921&r1=22920&r2=22921&view=diff > ============================================================================== > --- trunk/sample_scripts/relax_disp/cpmg_analysis.py (original) > +++ trunk/sample_scripts/relax_disp/cpmg_analysis.py Fri May 2 12:27:04 > 2014 > @@ -27,6 +27,7 @@ > > # relax module imports. > from auto_analyses.relax_disp import Relax_disp > +from status import Status; status = Status() > > > # Analysis variables. > @@ -65,7 +66,7 @@ > ####################### > > # The path to the data files. > -DATA_PATH = > pardir+sep+pardir+sep+'test_suite'+sep+'shared_data'+sep+'dispersion'+sep+'Hansen' > +DATA_PATH = > status.install_path+sep+'test_suite'+sep+'shared_data'+sep+'dispersion'+sep+'Hansen' > > # Create the data pipe. > pipe_name = 'base pipe' > > > _______________________________________________ > relax (http://www.nmr-relax.com) > > This is the relax-commits mailing list > [email protected] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-commits _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel

