Author: bugman Date: Tue Jul 12 18:36:36 2011 New Revision: 13563 URL: http://svn.gna.org/viewcvs/relax?rev=13563&view=rev Log: The auto NOE spin loader GUI element now registers with the unique data pipe name. Modified: branches/gui_testing/gui/analyses/auto_noe.py Modified: branches/gui_testing/gui/analyses/auto_noe.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/auto_noe.py?rev=13563&r1=13562&r2=13563&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/auto_noe.py (original) +++ branches/gui_testing/gui/analyses/auto_noe.py Tue Jul 12 18:36:36 2011 @@ -119,7 +119,7 @@ self.build_main_box(box_centre) # Register the method for updating the spin count for the completion of user functions. - self.gui.user_functions.register_observer('auto_noe', self.update_spin_count) + self.gui.user_functions.register_observer(self.data.pipe_name, self.update_spin_count) def assemble_data(self): @@ -131,7 +131,7 @@ @rtype: class instance, list of str """ - # The data container and flag. + # The data container. data = Container() missing = [] @@ -260,7 +260,7 @@ """Unregister the spin count from the user functions.""" # Remove. - self.gui.user_functions.unregister_observer('auto_noe') + self.gui.user_functions.unregister_observer(self.data.pipe_name) def execute(self, event):