Author: bugman Date: Mon Jun 27 15:59:38 2011 New Revision: 13240 URL: http://svn.gna.org/viewcvs/relax?rev=13240&view=rev Log: Fix for unresolved residues when blank in the NOE page. The value is now converted to None. 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=13240&r1=13239&r2=13240&view=diff ============================================================================== --- branches/gui_testing/gui/analyses/auto_noe.py (original) +++ branches/gui_testing/gui/analyses/auto_noe.py Mon Jun 27 15:59:38 2011 @@ -173,9 +173,10 @@ # Unresolved spins. file = DummyFileObject() - entries = self.data.unresolved - entries = replace(entries, ',', '\n') - file.write(entries) + if self.data.unresolved: + entries = self.data.unresolved + entries = replace(entries, ',', '\n') + file.write(entries) file.close() data.unresolved = file