Author: bugman Date: Fri Sep 26 18:30:19 2008 New Revision: 7362 URL: http://svn.gna.org/viewcvs/relax?rev=7362&view=rev Log: Fix for the internal structure object load_pdb() method. Modified: 1.3/generic_fns/structure/internal.py Modified: 1.3/generic_fns/structure/internal.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal.py?rev=7362&r1=7361&r2=7362&view=diff ============================================================================== --- 1.3/generic_fns/structure/internal.py (original) +++ 1.3/generic_fns/structure/internal.py Fri Sep 26 18:30:19 2008 @@ -798,7 +798,7 @@ if hasattr(data_pipe, 'structure'): # Loop over the structures. for i in xrange(len(data_pipe.structure)): - if data_pipe.structure.file[i] == file_path and data_pipe.structure[i].model == model and data_pipe.structure.id == 'internal': + if data_pipe.structure.file[i] == expanded[1] and data_pipe.structure[i].model == model and data_pipe.structure.id == 'internal': # Make a pointer to the data. self.structural_data = data_pipe.structure.structural_data[i]