Changeset ea2a7348 in sasview
- Timestamp:
- Jul 21, 2016 3:44:15 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 8976865
- Parents:
- df332d8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/file_converter/converter_panel.py
rd112c30 rea2a7348 74 74 def convert_to_cansas(self, data, filename): 75 75 reader = CansasReader() 76 entry_attrs = None 77 if self.run_name is not None: 78 entry_attrs = { 'name': self.run_name } 76 79 reader.write(filename, data, 77 sasentry_attrs= { 'name': self.run_name })80 sasentry_attrs=entry_attrs) 78 81 79 82 def extract_data(self, filename): … … 132 135 elif not isinstance(self.run, list): 133 136 self.run = [self.run] 137 138 if self.title is None: 139 self.title = '' 134 140 135 141 metadata = {
Note: See TracChangeset
for help on using the changeset viewer.