Author: bugman Date: Fri Jun 17 14:50:41 2011 New Revision: 13106 URL: http://svn.gna.org/viewcvs/relax?rev=13106&view=rev Log: Changing the name of the user function __parse_models() to __parse_models_pdb() This is Han's patch https://gna.org/task/download.php?file_id=13250 attached to the task http://gna.org/task/?7404. The name of the user function __parse_models() in 'generic_fns/structure/internal.py' has been changed to __parse_models_pdb(). This function is specific for reading the pdb files. Modified: branches/xyz/generic_fns/structure/internal.py Modified: branches/xyz/generic_fns/structure/internal.py URL: http://svn.gna.org/viewcvs/relax/branches/xyz/generic_fns/structure/internal.py?rev=13106&r1=13105&r2=13106&view=diff ============================================================================== --- branches/xyz/generic_fns/structure/internal.py (original) +++ branches/xyz/generic_fns/structure/internal.py Fri Jun 17 14:50:41 2011 @@ -236,7 +236,7 @@ return 'Average vector' - def __parse_models(self, file_path): + def __parse_models_pdb(self, file_path): """Generator function for looping over the models in the PDB file. @param file_path: The full path of the PDB file. @@ -731,7 +731,7 @@ model_index = 0 orig_model_num = [] mol_conts = [] - for model_num, model_records in self.__parse_models(file_path): + for model_num, model_records in self.__parse_models_pdb(file_path): # Only load the desired model. if read_model and model_num not in read_model: continue