Author: bugman Date: Fri Sep 17 15:08:08 2010 New Revision: 11603 URL: http://svn.gna.org/viewcvs/relax?rev=11603&view=rev Log: Bug fix, the 'execute relax' button now works with the NOE frame without any data. Modified: branches/bieri_gui/gui_bieri/analyses/auto_noe.py Modified: branches/bieri_gui/gui_bieri/analyses/auto_noe.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_noe.py?rev=11603&r1=11602&r2=11603&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_noe.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_noe.py Fri Sep 17 15:08:08 2010 @@ -435,10 +435,10 @@ data.unresolved = file # Structure file. - if self.data.structure_file == self.gui.structure_file_pdb_msg: + if hasattr(self.data, 'structure_file') and self.data.structure_file != self.gui.structure_file_pdb_msg: + data.structure_file = self.data.structure_file + else: data.structure_file = None - else: - data.structure_file = self.data.structure_file # Set Structure file as None if a sequence file is loaded. if data.structure_file == '!!! Sequence file selected !!!':