Author: bugman
Date: Wed Jan 14 17:44:07 2009
New Revision: 8445

URL: http://svn.gna.org/viewcvs/relax?rev=8445&view=rev
Log:
Bug fix for the load_pdb() method in the MolContainer setup.


Modified:
    branches/multi_structure/generic_fns/structure/internal.py

Modified: branches/multi_structure/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8445&r1=8444&r2=8445&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Wed Jan 14 
17:44:07 2009
@@ -672,7 +672,7 @@
                 orig_mol_num.append(mol_num)
 
                 # Generate the molecule container.
-                mol = MolContainer(mol_name=new_mol_name, file_name=file, 
file_path=path, file_model=model_num, file_mol_num=mol_num)
+                mol = MolContainer(mol_name=new_mol_name[-1], file_name=file, 
file_path=path, file_model=model_num, file_mol_num=mol_num)
 
                 # Fill the molecular data object.
                 mol.fill_object_from_pdb(mol_records)


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to