Author: michaelbieri Date: Tue Apr 13 06:18:04 2010 New Revision: 11073 URL: http://svn.gna.org/viewcvs/relax?rev=11073&view=rev Log: relaxGUI sets PDB file name to None before starting Rx curvefit. This was suggested by Edward d'Auvergne (https://mail.gna.org/public/relax-devel/2010-04/msg00013.html). Modified: branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py Modified: branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py?rev=11073&r1=11072&r2=11073&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py Tue Apr 13 06:18:04 2010 @@ -232,7 +232,7 @@ self.field_unresolved = wx.TextCtrl(self.parent, -1, "") self.field_unresolved.SetMinSize((350, 27)) sizer.Add(self.field_unresolved, 0, wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0) - + # Add the element to the box. box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0) @@ -281,6 +281,10 @@ # Structure File data.structure_file = self.data.structure_file + # Set Structure file as None if a structure file is loaded. + if data.structure_file == '!!! Sequence file selected !!!': + data.structure_file = None + # Results directory. data.save_dir = self.data.save_dir