mailr8560 - /branches/multi_structure/generic_fns/structure/api_base.py


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

Header


Content

Posted by edward on January 21, 2009 - 18:12:
Author: bugman
Date: Wed Jan 21 18:12:03 2009
New Revision: 8560

URL: http://svn.gna.org/viewcvs/relax?rev=8560&view=rev
Log:
Fixes for the molecule name variable in MolList.add_item().


Modified:
    branches/multi_structure/generic_fns/structure/api_base.py

Modified: branches/multi_structure/generic_fns/structure/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8560&r1=8559&r2=8560&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Wed Jan 21 
18:12:03 2009
@@ -944,7 +944,7 @@
 
         # If no molecule data exists, replace the empty first molecule with 
this molecule (just a renaming).
         if len(self) and self.is_empty():
-            self[0].name = mol_name
+            self[0].mol_name = mol_name
 
         # Otherwise append an empty MolContainer.
         else:




Related Messages


Powered by MHonArc, Updated Wed Jan 21 18:20:02 2009