mailr18489 - /trunk/generic_fns/structure/internal.py


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

Header


Content

Posted by edward on February 18, 2013 - 18:54:
Author: bugman
Date: Mon Feb 18 18:54:17 2013
New Revision: 18489

URL: http://svn.gna.org/viewcvs/relax?rev=18489&view=rev
Log:
Fix for the structure.add_atom user function for the internal structural 
object.

The atomic positions for each model are now correctly set.


Modified:
    trunk/generic_fns/structure/internal.py

Modified: trunk/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/structure/internal.py?rev=18489&r1=18488&r2=18489&view=diff
==============================================================================
--- trunk/generic_fns/structure/internal.py (original)
+++ trunk/generic_fns/structure/internal.py Mon Feb 18 18:54:17 2013
@@ -631,7 +631,7 @@
                 model_pos = pos[i]
 
             # Add the atom.
-            mol.atom_add(atom_name=atom_name, res_name=res_name, 
res_num=res_num, pos=pos, element=element, atom_num=atom_num, 
chain_id=chain_id, segment_id=segment_id, pdb_record=pdb_record)
+            mol.atom_add(atom_name=atom_name, res_name=res_name, 
res_num=res_num, pos=model_pos, element=element, atom_num=atom_num, 
chain_id=chain_id, segment_id=segment_id, pdb_record=pdb_record)
 
 
     def add_model(self, model=None, coords_from=None):




Related Messages


Powered by MHonArc, Updated Mon Feb 18 19:00:02 2013