Changeset 82d88d5 in sasview for src/sas/sasgui/guiframe/local_perspectives/data_loader
- Timestamp:
- Mar 6, 2019 6:18:09 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- f923967
- Parents:
- cb64d86 (diff), f205d3a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas/sasgui/guiframe/local_perspectives/data_loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
r5251ec6 r82d88d5 205 205 except NoKnownLoaderException as e: 206 206 exception_occurred = True 207 error_message = "Loading data failed! " + e.message207 error_message = "Loading data failed!\n" + e.message 208 208 file_errors[basename] = [error_message] 209 209 except Exception as e: … … 224 224 for message in error_array: 225 225 error_message += message + "\n" 226 error_message = error_message[:-1] 226 227 self.load_complete(output=output, 227 228 message=error_message, … … 231 232 self.load_complete(output=output, message="Loading data complete!", 232 233 info="info") 233 else:234 self.load_complete(output=None, message=error_message, info="error")235 234 236 235 def load_update(self, message="", info="warning"): -
src/sas/sasgui/guiframe/local_perspectives/data_loader/load_thread.py
r959eb01 r5251ec6 72 72 if self.updatefn is not None: 73 73 self.updatefn(output=output, message=message) 74 except :74 except Exception as exc: 75 75 error_message = "Error while loading: %s\n" % str(path) 76 error_message += str( sys.exc_value) + "\n"76 error_message += str(exc) + "\n" 77 77 self.updatefn(output=output, message=error_message) 78 78
Note: See TracChangeset
for help on using the changeset viewer.