Author: bugman Date: Mon Apr 7 17:06:36 2008 New Revision: 5375 URL: http://svn.gna.org/viewcvs/relax?rev=5375&view=rev Log: Fix for the internal PDB structural object. The data object is now initialised to an empty dictionary as in the base class it was initialised to an empty list (causing the object methods to fail). Modified: 1.3/generic_fns/structure/internal_pdb.py Modified: 1.3/generic_fns/structure/internal_pdb.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal_pdb.py?rev=5375&r1=5374&r2=5375&view=diff ============================================================================== --- 1.3/generic_fns/structure/internal_pdb.py (original) +++ 1.3/generic_fns/structure/internal_pdb.py Mon Apr 7 17:06:36 2008 @@ -52,6 +52,9 @@ # Identification string. id = 'internal pdb' + + # Change the data object to an empty dictionary. + structural_data = {} def __get_chemical_name(self, hetID):