mailr6184 - /1.3/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 May 20, 2008 - 23:56:
Author: bugman
Date: Tue May 20 23:47:35 2008
New Revision: 6184

URL: http://svn.gna.org/viewcvs/relax?rev=6184&view=rev
Log:
Added the atom_num arg to the atom_add() structural API base class method.


Modified:
    1.3/generic_fns/structure/api_base.py

Modified: 1.3/generic_fns/structure/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/api_base.py?rev=6184&r1=6183&r2=6184&view=diff
==============================================================================
--- 1.3/generic_fns/structure/api_base.py (original)
+++ 1.3/generic_fns/structure/api_base.py Tue May 20 23:47:35 2008
@@ -49,7 +49,7 @@
         self.structural_data = []
 
 
-    def atom_add(self, pdb_record=None, atom_name=None, res_name=None, 
chain_id=None, res_num=None, pos=[None, None, None], segment_id=None, 
element=None, model=None):
+    def atom_add(self, pdb_record=None, atom_num=None, atom_name=None, 
res_name=None, chain_id=None, res_num=None, pos=[None, None, None], 
segment_id=None, element=None, model=None):
         """Prototype method stub for adding an atom to the structural data 
object.
 
         This method will create the key-value pair for the given atom.
@@ -57,6 +57,8 @@
 
         @keyword pdb_record:    The optional PDB record name, e.g. 'ATOM', 
'HETATM', or 'TER'.
         @type pdb_record:       str or None
+        @keyword atom_num:      The atom number.
+        @type atom_num:         int or None
         @keyword atom_name:     The atom name, e.g. 'H1'.
         @type atom_name:        str or None
         @keyword res_name:      The residue name.




Related Messages


Powered by MHonArc, Updated Wed May 21 00:00:22 2008