Author: bugman Date: Thu Apr 9 19:46:04 2009 New Revision: 9006 URL: http://svn.gna.org/viewcvs/relax?rev=9006&view=rev Log: Fix for the rna_seq() method. The create_residue() and create_molecule() functions were being incorrectly called. 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=9006&r1=9005&r2=9006&view=diff ============================================================================== --- branches/ave_noe/test_suite/system_tests/noe_restraints.py (original) +++ branches/ave_noe/test_suite/system_tests/noe_restraints.py Thu Apr 9 19:46:04 2009 @@ -71,21 +71,15 @@ # 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], mol_id=mol_id) - - # The residue id string. - res_id = mol_id + ':' + `res_nums[i][j]` + create_residue(res_nums[i][j], mol_name=mol_names[i]) # Loop over the atoms. for k in range(len(spin_names[i][j])): # Create the spin. - create_spin(spin_names[i][j][k], res_id=res_id) + create_spin(spin_names[i][j][k], res_num=res_nums[i][j], mol_name=mol_names[i]) # Display the sequence for debugging. self.relax.interpreter._Sequence.display()