Author: bugman Date: Sat Jul 5 12:15:51 2008 New Revision: 6732 URL: http://svn.gna.org/viewcvs/relax?rev=6732&view=rev Log: Changed the model arg to struct_index in the structural object API method atom_add(). Modified: branches/rdc_analysis/generic_fns/structure/api_base.py Modified: branches/rdc_analysis/generic_fns/structure/api_base.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/generic_fns/structure/api_base.py?rev=6732&r1=6731&r2=6732&view=diff ============================================================================== --- branches/rdc_analysis/generic_fns/structure/api_base.py (original) +++ branches/rdc_analysis/generic_fns/structure/api_base.py Sat Jul 5 12:15:51 2008 @@ -52,7 +52,7 @@ self.file_name = [] - 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): + 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, struct_index=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. @@ -76,9 +76,10 @@ @type segment_id: str or None @keyword element: The element symbol. @type element: str or None - @keyword model: The model to add the atom to. If not supplied and multiple models - exist, then the atom will be added to all models. - @type model: None or int + @keyword struct_index: The index of the structure to add the atom to. If not supplied and + multiple structures or models are loaded, then the atom will be + added to all structures. + @type struct_index: None or int """ # Raise the error.