Changeset 282bc3f in sasview for src/sas/sascalc/dataloader/file_reader_base_class.py
- 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/file_reader_base_class.py
rdfcdbf8 r282bc3f 151 151 """ 152 152 if len(self.output) > 0: 153 self.output[-1].errors.a dd(msg)153 self.output[-1].errors.append(msg) 154 154 elif isinstance(self.current_datainfo, DataInfo): 155 self. current_datainfo.errors.add(msg)155 self.output[-1].errors.append(msg) 156 156 else: 157 157 logger.warning(msg) … … 360 360 message = "Unable to convert Q units from {0} to 1/A." 361 361 message.format(default_q_unit) 362 data.errors.a dd(message)362 data.errors.append(message) 363 363 new_output.append(data) 364 364 self.output = new_output
Note: See TracChangeset
for help on using the changeset viewer.