Author: bugman Date: Mon Sep 22 09:40:11 2014 New Revision: 25940 URL: http://svn.gna.org/viewcvs/relax?rev=25940&view=rev Log: Fix for the internal structural object get_model() method - it now actually returns the model. Modified: trunk/lib/structure/internal/object.py Modified: trunk/lib/structure/internal/object.py URL: http://svn.gna.org/viewcvs/relax/trunk/lib/structure/internal/object.py?rev=25940&r1=25939&r2=25940&view=diff ============================================================================== --- trunk/lib/structure/internal/object.py (original) +++ trunk/lib/structure/internal/object.py Mon Sep 22 09:40:11 2014 @@ -1715,6 +1715,9 @@ self.structural_data.add_item(model) model_cont = self.structural_data[-1] + # Return the container. + return model_cont + def get_molecule(self, molecule, model=None): """Return the molecule.