Changeset a78446ce in sasview
- Timestamp:
- Sep 14, 2018 7:38:16 AM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- f4e2f22
- Parents:
- 43313e72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
r02c1608e ra78446ce 182 182 file_errors[basename] = [log_msg] 183 183 continue 184 185 184 try: 186 185 message = "Loading {}...\n".format(p_file) … … 204 203 self.load_update(message="Loaded {}\n".format(p_file), 205 204 info="info") 206 207 205 except NoKnownLoaderException as e: 208 206 exception_occurred = True 209 207 error_message = "Loading data failed!\n" + e.message 210 self.load_complete(output=None, 211 message=error_message, 212 info="warning") 213 208 file_errors[basename] = error_message 214 209 except Exception as e: 215 210 exception_occurred = True … … 220 215 file_err += " following:\n" 221 216 file_err += e.message 222 self.load_complete(output=None, 223 message=file_err, 224 info="error") 217 file_errors[basename] = [file_err] 225 218 226 219 if len(file_errors) > 0:
Note: See TracChangeset
for help on using the changeset viewer.