Author: bugman Date: Thu Apr 10 11:10:34 2008 New Revision: 5519 URL: http://svn.gna.org/viewcvs/relax?rev=5519&view=rev Log: All the atom_loop() args in the API have been set to False. This will make the method more robust as the caller will get exactly what it asks for, i.e. the tuple will be of the right size. 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=5519&r1=5518&r2=5519&view=diff ============================================================================== --- 1.3/generic_fns/structure/api_base.py (original) +++ 1.3/generic_fns/structure/api_base.py Thu Apr 10 11:10:34 2008 @@ -88,7 +88,7 @@ raise RelaxImplementError - def atom_loop(self, mol_name=True, res_num=True, res_name=True, atom_num=True, atom_name=True, element=True, pos=True): + def atom_loop(self, mol_name=False, res_num=False, res_name=False, atom_num=False, atom_name=False, element=False, pos=False): """Prototype generator method stub for looping over all atoms in the structural data object. This method should be designed as a generator (http://www.python.org/dev/peps/pep-0255/).