Changeset c1dc994 in sasview
- Timestamp:
- Nov 9, 2018 1:48:41 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:
- 802fc18
- Parents:
- 9b08354
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
r282bc3f rc1dc994 172 172 # Top Level Meta Data 173 173 if key == u'definition': 174 self.current_datainfo.meta_data['reader'] = data_set 175 break 174 if isinstance(data_set, basestring): 175 self.current_datainfo.meta_data['reader'] = data_set 176 break 177 else: 178 self.current_datainfo.meta_data[ 179 'reader'] = data_point 176 180 # Run 177 181 elif key == u'run': 178 self.current_datainfo.run.append(data_set)179 182 try: 180 183 run_name = h5attr(value, 'name') … … 183 186 except Exception: 184 187 pass 185 break 188 if isinstance(data_set, basestring): 189 self.current_datainfo.run.append(data_set) 190 break 191 else: 192 self.current_datainfo.run.append(data_point) 186 193 # Title 187 194 elif key == u'title': 188 self.current_datainfo.title = data_set 195 if isinstance(data_set, basestring): 196 self.current_datainfo.title = data_set 197 break 198 else: 199 self.current_datainfo.title = data_point 189 200 # Note 190 201 elif key == u'SASnote':
Note: See TracChangeset
for help on using the changeset viewer.