Changeset 83ee7258 in sasview for src/sas/sascalc/dataloader
- Timestamp:
- Aug 2, 2017 4:41:43 AM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/file_reader_base_class.py
r248ff73 r83ee7258 102 102 Sort 1D data along the X axis for consistency 103 103 """ 104 final_list = []105 104 for data in self.output: 106 105 if isinstance(data, Data1D): … … 126 125 data.ymin = np.min(data.y) 127 126 data.ymax = np.max(data.y) 128 # final_list.append(data)129 # self.output = final_list130 127 131 128 def sort_two_d_data(self): 132 final_list = []133 129 for dataset in self.output: 134 130 if isinstance(dataset, Data2D): … … 156 152 dataset.x_bins = dataset.qx_data[:int(n_cols)] 157 153 dataset.data = dataset.data.flatten() 158 # final_list.append(dataset)159 # self.output = final_list160 154 161 155 def set_all_to_none(self):
Note: See TracChangeset
for help on using the changeset viewer.