Changeset 83ee7258 in sasview


Ignore:
Timestamp:
Aug 2, 2017 4:41:43 AM (7 years ago)
Author:
lewis
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:
be43448
Parents:
511ccb2d
Message:

Remove unused code

File:
1 edited

Legend:

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

    r248ff73 r83ee7258  
    102102        Sort 1D data along the X axis for consistency 
    103103        """ 
    104         final_list = [] 
    105104        for data in self.output: 
    106105            if isinstance(data, Data1D): 
     
    126125                    data.ymin = np.min(data.y) 
    127126                    data.ymax = np.max(data.y) 
    128         #     final_list.append(data) 
    129         # self.output = final_list 
    130127 
    131128    def sort_two_d_data(self): 
    132         final_list = [] 
    133129        for dataset in self.output: 
    134130            if isinstance(dataset, Data2D): 
     
    156152                    dataset.x_bins = dataset.qx_data[:int(n_cols)] 
    157153                dataset.data = dataset.data.flatten() 
    158         #         final_list.append(dataset) 
    159         # self.output = final_list 
    160154 
    161155    def set_all_to_none(self): 
Note: See TracChangeset for help on using the changeset viewer.