Changeset 94667e27 in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Aug 9, 2016 9:36:23 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:
- 785fa53
- Parents:
- 0e11ec7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/file_converter/converter_panel.py
r0e11ec7 r94667e27 69 69 70 70 # Metadata values 71 self.title = None72 self.run = None73 self.run_name = None74 self.instrument = None71 self.title = '' 72 self.run = '' 73 self.run_name = '' 74 self.instrument = '' 75 75 self.detector = Detector() 76 76 self.sample = Sample() … … 99 99 writer = CansasWriter() 100 100 entry_attrs = None 101 if self.run_name is not None:101 if self.run_name != '': 102 102 entry_attrs = { 'name': self.run_name } 103 103 … … 504 504 value = textbox.GetValue().strip() 505 505 506 if value == '': value = None507 508 506 setattr(self, attr, value) 509 507
Note: See TracChangeset
for help on using the changeset viewer.