Author: bugman Date: Wed Nov 28 10:20:18 2007 New Revision: 4095 URL: http://svn.gna.org/viewcvs/relax?rev=4095&view=rev Log: Big bug fix for the generic_fns.residue.create() function. The mol_to_cont was being set to a ResidueContainer rather than a MoleculeContainer!!! Modified: 1.3/generic_fns/residue.py Modified: 1.3/generic_fns/residue.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/residue.py?rev=4095&r1=4094&r2=4095&view=diff ============================================================================== --- 1.3/generic_fns/residue.py (original) +++ 1.3/generic_fns/residue.py Wed Nov 28 10:20:18 2007 @@ -127,7 +127,7 @@ raise RelaxNoPipeError # Get the molecule container to add the residue to. - mol_to_cont = return_residue(mol_id) + mol_to_cont = return_molecule(mol_id) if mol_to_cont == None and mol_id: raise RelaxError, "The molecule in " + `mol_id` + " does not exist in the current data pipe." elif mol_to_cont == None: