Author: bugman Date: Tue Dec 9 13:49:38 2008 New Revision: 8176 URL: http://svn.gna.org/viewcvs/relax?rev=8176&view=rev Log: Final fixes for the rna_seq() sequence generation method. Modified: branches/ave_noe/test_suite/system_tests/noe_restraints.py Modified: branches/ave_noe/test_suite/system_tests/noe_restraints.py URL: http://svn.gna.org/viewcvs/relax/branches/ave_noe/test_suite/system_tests/noe_restraints.py?rev=8176&r1=8175&r2=8176&view=diff ============================================================================== --- branches/ave_noe/test_suite/system_tests/noe_restraints.py (original) +++ branches/ave_noe/test_suite/system_tests/noe_restraints.py Tue Dec 9 13:49:38 2008 @@ -70,15 +70,24 @@ # Create the molecule. create_molecule(mol_names[i]) + # The molecule id string. + mol_id = '#' + mol_names[i] + # Loop over the residues. for j in range(len(res_nums[i])): # Create the residue. - create_residue(res_nums[i][j]) + create_residue(res_nums[i][j], mol_id=mol_id) + + # The residue id string. + res_id = mol_id + ':' + `res_nums[i][j]` # Loop over the atoms. for k in range(len(spin_names[i][j])): # Create the spin. - create_spin(spin_names[i][j][k]) + create_spin(spin_names[i][j][k], res_id=res_id) + + # Display the sequence for debugging. + self.relax.interpreter._Sequence.display() def test_read_xplor_rna(self):