Ignore:
Timestamp:
Feb 6, 2017 4:00:46 PM (8 years ago)
Author:
krzywon
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
157b716
Parents:
2a2b43a
Message:

Save and load SESANS flag and zacceptance to/from project and analysis files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/data_info.py

    r18501795 rad4632c  
    352352    ## Details 
    353353    details = None 
     354    ## SESANS zacceptance 
     355    zacceptance = None 
    354356 
    355357    def __init__(self): 
     
    545547        _str += "Title:           %s\n" % self.title 
    546548        _str += "Run:             %s\n" % str(self.run) 
     549        _str += "SESANS:          %s\n" % str(self.isSesans) 
    547550        _str += "Instrument:      %s\n" % str(self.instrument) 
    548551        _str += "%s\n" % str(self.sample) 
     
    11791182    final_dataset.xmin = data.xmin 
    11801183    final_dataset.ymin = data.ymin 
     1184    final_dataset.isSesans = datainfo.isSesans 
    11811185    final_dataset.title = datainfo.title 
    11821186    final_dataset.run = datainfo.run 
Note: See TracChangeset for help on using the changeset viewer.