Changeset e88ebfd in sasview for guiframe/local_perspectives/data_loader
- Timestamp:
- Mar 11, 2011 4:39:00 PM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ee2b492
- Parents:
- 14cd91b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/data_loader/data_loader.py
re75b5fa re88ebfd 139 139 message = "" 140 140 log_msg = '' 141 output = []141 output = {} 142 142 error_message = "" 143 143 for p_file in path: … … 156 156 for item in temp: 157 157 data = self.parent.create_gui_data(item, p_file) 158 output .append(data)158 output[data.id] = data 159 159 else: 160 160 data = self.parent.create_gui_data(temp, p_file) 161 output .append(data)161 output[data.id] = data 162 162 message = "Loading Data..." + str(p_file) + "\n" 163 163 self.load_update(output=output, message=message) … … 189 189 if error_message != "": 190 190 self.load_error(error_message) 191 self.parent.add_data( output)191 self.parent.add_data(data_list=output) 192 192 193 193
Note: See TracChangeset
for help on using the changeset viewer.