Changeset 8e15dce in sasview for src/sas/sasgui/guiframe
- Timestamp:
- May 10, 2017 7:39:17 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e0ebd56
- Parents:
- 914c49d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/plotting/parameters_panel_slicer.py
r3e5648b r8e15dce 193 193 name="Append to file name:") 194 194 append_tool_tip = "Files will be saved as <SlicerType><FileName>" 195 append_tool_tip += "<AppendToText>. xml"195 append_tool_tip += "<AppendToText>.txt" 196 196 self.append_name.SetToolTipString(append_tool_tip) 197 197 self.append_name.SetValue(self.default_value) … … 417 417 data_dic[item] = plot.plots[item] 418 418 419 # Save files as XML419 # Save files as Text 420 420 for item, data1d in data_dic.iteritems(): 421 421 base = '.'.join(item.split('.')[:-1]) 422 file_name = base + append + ". xml"422 file_name = base + append + ".txt" 423 423 save_to = evt.path + "\\" + file_name 424 424 writer.write(save_to, data1d) … … 439 439 :param file_list: list of loaded file names to send to fit 440 440 """ 441 if fit != FIT_OPTIONS[0] and file_list is not None: 441 if fit in FIT_OPTIONS and fit != FIT_OPTIONS[0] and \ 442 file_list is not None: 442 443 # Set perspective to fitting 443 444 int = self.data_panel.perspective_cbox.FindString("Fitting")
Note: See TracChangeset
for help on using the changeset viewer.