Changeset 282bc3f in sasview for src/sas/sascalc/dataloader/readers
- Timestamp:
- Nov 1, 2018 4:35:01 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
- Children:
- 9b08354
- Parents:
- dfcdbf8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
rdfcdbf8 r282bc3f 102 102 self.data2d = [] 103 103 self.raw_data = None 104 self.errors = set()104 self.errors = [] 105 105 self.logging = [] 106 106 self.q_names = [] … … 231 231 else: 232 232 # I don't know if this reachable code 233 self.errors.a dd("ShouldNeverHappenException")233 self.errors.append("ShouldNeverHappenException") 234 234 235 235 def process_1d_data_object(self, data_set, key, unit): … … 528 528 # Append errors to dataset and reset class errors 529 529 self.current_datainfo.errors = self.errors 530 self.errors .clear()530 self.errors = [] 531 531 532 532 # Combine all plottables with datainfo and append each to output … … 538 538 zeros[i] = dataset.mask[i] 539 539 except: 540 self.errors.a dd(sys.exc_value)540 self.errors.append(sys.exc_value) 541 541 dataset.mask = zeros 542 542 # Calculate the actual Q matrix
Note: See TracChangeset
for help on using the changeset viewer.