Author: bugman Date: Mon Jan 19 14:34:00 2009 New Revision: 8529 URL: http://svn.gna.org/viewcvs/relax?rev=8529&view=rev Log: Fix for the load_pdb() method. The 'other' molecule types are now added to a standard list in MolContainer.data. Modified: branches/multi_structure/generic_fns/structure/scientific.py Modified: branches/multi_structure/generic_fns/structure/scientific.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/scientific.py?rev=8529&r1=8528&r2=8529&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/scientific.py (original) +++ branches/multi_structure/generic_fns/structure/scientific.py Mon Jan 19 14:34:00 2009 @@ -591,8 +591,9 @@ mol_conts[-1][-1].mol_type = 'other' # Loop over the molecules. + mol_conts[-1][-1].data = [] for mol in model.molecules[key]: - mol_conts[-1][-1].append(mol) + mol_conts[-1][-1].data.append(mol) # Update structures. self.target_mol_name(set=set_mol_name, target=new_mol_name, index=mol_index, mol_num=mol_index+1, file=file)