Ignore:
Timestamp:
Sep 14, 2017 10:43:20 AM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
4660990
Parents:
b1f20d1
Message:

Modify base file reader class and cansas reader to properly load save states.

File:
1 edited

Legend:

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

    ra78a02f rc54c965  
    204204        x = np.zeros(no_lines) 
    205205        y = np.zeros(no_lines) 
    206         dy = np.zeros(no_lines) 
    207         dx = np.zeros(no_lines) 
    208         self.current_dataset = plottable_1D(x, y, dx, dy) 
     206        self.current_dataset = plottable_1D(x, y) 
    209207 
    210208    @staticmethod 
Note: See TracChangeset for help on using the changeset viewer.