Author: bugman Date: Thu Jul 31 18:28:28 2014 New Revision: 24897 URL: http://svn.gna.org/viewcvs/relax?rev=24897&view=rev Log: Fix for bug #22411 (https://gna.org/bugs/?22411), the failure in loading a Bruker DC T1 data file. The problem was that there was an empty line with spaces. The logic for skipping empty lines could not handle lines with just whitespace. This has now been fixed. Modified: trunk/lib/software/bruker_dc.py Modified: trunk/lib/software/bruker_dc.py URL: http://svn.gna.org/viewcvs/relax/trunk/lib/software/bruker_dc.py?rev=24897&r1=24896&r2=24897&view=diff ============================================================================== --- trunk/lib/software/bruker_dc.py (original) +++ trunk/lib/software/bruker_dc.py Thu Jul 31 18:28:28 2014 @@ -108,8 +108,8 @@ for j in range(len(row)): row[j] = row[j].strip() - # Empty line. - if len(row) == 0: + # Skip empty lines. + if len(row) == 0 or row == ['']: continue # The DC version.