mailr4095 - /1.3/generic_fns/residue.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 28, 2007 - 10:20:
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:




Related Messages


Powered by MHonArc, Updated Wed Nov 28 10:40:09 2007