Author: michaelbieri Date: Thu Feb 25 05:50:48 2010 New Revision: 10930 URL: http://svn.gna.org/viewcvs/relax?rev=10930&view=rev Log: No spins are deselected if no spins / residues are indicated. A fix has to be done if spins /residues are deselcted. Best will be to create a file listing these residues / spins. Modified: branches/bieri_gui/auto_analyses/relax_fit.py Modified: branches/bieri_gui/auto_analyses/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/auto_analyses/relax_fit.py?rev=10930&r1=10929&r2=10930&view=diff ============================================================================== --- branches/bieri_gui/auto_analyses/relax_fit.py (original) +++ branches/bieri_gui/auto_analyses/relax_fit.py Thu Feb 25 05:50:48 2010 @@ -120,7 +120,10 @@ self.interpreter.spectrum.error_analysis() # Deselect unresolved spins. - self.interpreter.deselect.read(file='unresolved') + if self.unresolved == '': + print '' + else: + self.interpreter.deselect.read(file='unresolved') # FIXME. relax should read the list without creating a file # Set the relaxation curve type. self.interpreter.relax_fit.select_model('exp')