mailr5452 - /1.3/generic_fns/structure/scientific.py


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

Header


Content

Posted by edward on April 08, 2008 - 18:04:
Author: bugman
Date: Tue Apr  8 18:04:19 2008
New Revision: 5452

URL: http://svn.gna.org/viewcvs/relax?rev=5452&view=rev
Log:
Bug fix in the Scientific Python PDB object atom_loop() generator method.

The atom name is now returned rather than the element type!


Modified:
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=5452&r1=5451&r2=5452&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Tue Apr  8 18:04:19 2008
@@ -122,7 +122,7 @@
                     for atom in res:
                         # Atom number, name, and position.
                         atom_num = atom.properties['serial_number']
-                        atom_name = atom.properties['element']
+                        atom_name = atom.name
                         pos = atom.position.array
 
                         # Skip non-matching atoms.




Related Messages


Powered by MHonArc, Updated Tue Apr 08 18:20:13 2008