Changeset 3aed0eb in sasview for DataLoader/readers


Ignore:
Timestamp:
Apr 10, 2009 7:57:47 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
27eba36
Parents:
272b107
Message:

cleaned up mess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/readers/ascii_reader.py

    r272b107 r3aed0eb  
    110110                        _y = float(toks[1]) 
    111111                         
    112                         #To reject the line when reader meets less columns of data 
    113                         #if lentoks == 3: 
    114                         #    _dy = float(toks[2]) 
    115                         #elif lentoks == 4: 
    116                         #    _dx = float(toks[3]) 
    117                          
    118112                        #Reset the header line counters 
    119113                        if j == j1: 
     
    175169                            new_lentoks = len(toks) 
    176170                         
    177                         #If the previous columns are less than the current, mark the previous as non-data and reset the dependents.   
     171                        #If the previous columns not equal to the current, mark the previous as non-data and reset the dependents.   
    178172                        if lentoks != new_lentoks : 
    179173                            if is_data == True: 
Note: See TracChangeset for help on using the changeset viewer.