Changeset 35009a0 in sasview for src/sas/sascalc/dataloader/readers


Ignore:
Timestamp:
Apr 4, 2017 5:27:39 PM (8 years ago)
Author:
Adam Washington <adam.washington@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
bc6532e
Parents:
41e0a3b
git-author:
Adam Washington <adam.washington@…> (04/04/17 17:16:16)
git-committer:
Adam Washington <adam.washington@…> (04/04/17 17:27:39)
Message:

Remove redundant code from sesans_reader

I left in an old conditional from the aborted attempt at reading the
file with a generator

File:
1 edited

Legend:

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

    r2d866370 r35009a0  
    5656                    params = {} 
    5757                    while line.strip() != "": 
    58                         if line.strip() == "": 
    59                             break 
    6058                        terms = line.strip().split("\t") 
    6159                        params[terms[0].strip()] = " ".join(terms[1:]).strip() 
Note: See TracChangeset for help on using the changeset viewer.