Changeset af3e9f5 in sasview for src


Ignore:
Timestamp:
Sep 22, 2017 7:07:02 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
849094a
Parents:
5c5e7fd
Message:

use decoded stream for danse reader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/danse_reader.py

    r574adc7 raf3e9f5  
    8080        data_start_line = 1 
    8181        while read_on: 
    82             line = self.f_open.readline() 
     82            line = self.nextline() 
    8383            data_start_line += 1 
    8484            if line.find("DATA:") >= 0: 
     
    114114            raise FileContentsException(msg) 
    115115 
    116         for line_num, data_str in enumerate(self.f_open.readlines()): 
     116        for line_num, data_str in enumerate(self.nextlines()): 
    117117            toks = data_str.split() 
    118118            try: 
Note: See TracChangeset for help on using the changeset viewer.