Changeset 009abcc in sasview for src/sas/sasgui/guiframe
- Timestamp:
- Sep 18, 2018 9:38:26 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:
- 7ab3b79b
- Parents:
- 893d852
- git-author:
- krzywon <krzywon@…> (09/14/18 09:38:16)
- git-committer:
- krzywon <krzywon@…> (09/18/18 09:38:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
r2924532 r009abcc 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.