Author: bugman Date: Sat Jun 2 12:38:07 2012 New Revision: 16595 URL: http://svn.gna.org/viewcvs/relax?rev=16595&view=rev Log: Fix for the new Uf_tables.add_table() method - the table is now returned. Modified: branches/uf_redesign/user_functions/data.py Modified: branches/uf_redesign/user_functions/data.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/data.py?rev=16595&r1=16594&r2=16595&view=diff ============================================================================== --- branches/uf_redesign/user_functions/data.py (original) +++ branches/uf_redesign/user_functions/data.py Sat Jun 2 12:38:07 2012 @@ -230,6 +230,9 @@ self._labels.append(label) self._tables[label] = Table(title=title, label=label, spacing=spacing, longtable=longtable) + # Return the table. + return self._tables[label] + def get_table(self, label): """Return the table matching the given label.