Author: bugman Date: Wed Aug 12 15:02:38 2009 New Revision: 9285 URL: http://svn.gna.org/viewcvs/relax?rev=9285&view=rev Log: Removed a reference to the '..' dir. Modified: 1.3/sample_scripts/xh_vector_dist.py Modified: 1.3/sample_scripts/xh_vector_dist.py URL: http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/xh_vector_dist.py?rev=9285&r1=9284&r2=9285&view=diff ============================================================================== --- 1.3/sample_scripts/xh_vector_dist.py (original) +++ 1.3/sample_scripts/xh_vector_dist.py Wed Aug 12 15:02:38 2009 @@ -21,7 +21,7 @@ ############################################################################### # Python module imports. -from os import sep +from os import pardir, sep # Script for creating a PDB representation of the distribution of XH bond vectors. @@ -38,7 +38,7 @@ structure.load_spins(spin_id='@N') # Select solely the NH vectors used in the analysis. -select.read(file='..'+sep+'rates.txt', change_all=True, res_num_col=1) +select.read(file=pardir+sep+'rates.txt', change_all=True, res_num_col=1) # Extract the XH vectors. structure.vectors()