mailr8553 - /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 20, 2009 - 16:57:
Author: bugman
Date: Tue Jan 20 16:57:22 2009
New Revision: 8553

URL: http://svn.gna.org/viewcvs/relax?rev=8553&view=rev
Log:
Bug fix for the MolList.__repr__() method, the molecule name is in 'mol_name'.


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=8553&r1=8552&r2=8553&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Tue Jan 20 
16:57:22 2009
@@ -929,7 +929,7 @@
         text = "Molecules.\n\n"
         text = text + "%-8s%-8s" % ("Index", "Name") + "\n"
         for i in xrange(len(self)):
-            text = text + "%-8i%-8s" % (i, self[i].name) + "\n"
+            text = text + "%-8i%-8s" % (i, self[i].mol_name) + "\n"
         return text
 
 




Related Messages


Powered by MHonArc, Updated Tue Jan 20 17:20:03 2009