Author: bugman Date: Fri Sep 26 18:31:15 2008 New Revision: 7363 URL: http://svn.gna.org/viewcvs/relax?rev=7363&view=rev Log: Fix for the Scientific structure object load_pdb() method. Modified: 1.3/generic_fns/structure/scientific.py Modified: 1.3/generic_fns/structure/scientific.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=7363&r1=7362&r2=7363&view=diff ============================================================================== --- 1.3/generic_fns/structure/scientific.py (original) +++ 1.3/generic_fns/structure/scientific.py Fri Sep 26 18:31:15 2008 @@ -488,7 +488,7 @@ # Use pointers (references) if the PDB data exists in another run. for data_pipe in ds: - if hasattr(data_pipe, 'structure') and data_pipe.structure.file[0] == file_path and data_pipe.structure.model == model: + if hasattr(data_pipe, 'structure') and data_pipe.structure.file[0] == expanded[1] and data_pipe.structure.model == model: # Make a pointer to the data. self.structural_data = data_pipe.structure.structural_data