Author: bugman
Date: Mon Jan 12 10:31:06 2009
New Revision: 8403
URL: http://svn.gna.org/viewcvs/relax?rev=8403&view=rev
Log:
Bug fix for the load_pdb() method call to MolList.add_item().
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=8403&r1=8402&r2=8403&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Mon Jan 12
10:31:06 2009
@@ -1004,7 +1004,7 @@
mol = Molecule_container(mol_name=new_mol_name,
file_name=file, file_path=path, file_model=model_num, file_mol_num=mol_num)
# Add the molecule to the last model.
- self.structural_data[-1].mol.add_item(mol_name=mol_name,
mol_cont=mol)
+ self.structural_data[-1].mol.add_item(mol_name=new_mol_name,
mol_cont=mol)
# Fill the molecular data object.
self.__fill_object_from_pdb(mol_records,
model_index=len(self.structural_data),
mol_index=len(self.structural_data[-1].mol))
_______________________________________________
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