Author: bugman Date: Tue Jun 5 10:53:19 2012 New Revision: 16660 URL: http://svn.gna.org/viewcvs/relax?rev=16660&view=rev Log: The GUI analysis pipe_deletion() method now works with pipe bundles instead of pipe themselves. This is because the analysis tabs are now associated with the bundles rather than pipes. Modified: branches/uf_redesign/gui/analyses/__init__.py Modified: branches/uf_redesign/gui/analyses/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/analyses/__init__.py?rev=16660&r1=16659&r2=16660&view=diff ============================================================================== --- branches/uf_redesign/gui/analyses/__init__.py (original) +++ branches/uf_redesign/gui/analyses/__init__.py Tue Jun 5 10:53:19 2012 @@ -610,10 +610,10 @@ def pipe_deletion(self): """Remove analysis tabs for which the associated data pipe has been deleted.""" - # Loop over the analyses, noting which no longer have a data pipe. + # Loop over the analyses, noting which no longer have an associated data pipe bundle. del_list = [] for i in range(self._num_analyses): - if not pipes.has_pipe(ds.relax_gui.analyses[i].pipe_name): + if not pipes.has_bundle(ds.relax_gui.analyses[i].pipe_bundle): del_list.append(i) # Reverse the order of the list so the removal works correctly.