Author: bugman Date: Tue Apr 8 18:22:14 2008 New Revision: 5459 URL: http://svn.gna.org/viewcvs/relax?rev=5459&view=rev Log: Updated the relax_fit.py sample script to use the new structure.load_spins() user function. Modified: 1.3/sample_scripts/relax_fit.py Modified: 1.3/sample_scripts/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/relax_fit.py?rev=5459&r1=5458&r2=5459&view=diff ============================================================================== --- 1.3/sample_scripts/relax_fit.py (original) +++ 1.3/sample_scripts/relax_fit.py Tue Apr 8 18:22:14 2008 @@ -4,8 +4,9 @@ name = 'rx' pipe.create(name, 'relax_fit') -# Load the sequence from a PDB file. -structure.read_pdb(name, 'Ap4Aase_new_3.pdb', load_seq=1) +# Load the backbone amide 15N spins from a PDB file. +structure.read_pdb('Ap4Aase_new_3.pdb') +structure.load_spins(spin_id='@N') # Load the peak intensities. relax_fit.read(name, file='T2_ncyc1.list', relax_time=0.0176)