Changeset 1abcb04 in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- Jun 5, 2009 9:08:48 PM (15 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:
- 410aad8
- Parents:
- 7d8094b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r8068b52 r1abcb04 419 419 """ 420 420 Save 1D Data to XML file 421 422 TODO: Refactor and remove this method. See TODO in _onSave. 423 421 424 @param evt: Menu event 422 425 """ … … 439 442 """ 440 443 Save file as txt 444 445 TODO: Refactor and remove this method. See TODO in _onSave. 441 446 """ 442 447 data = self.plots[self.graph.selected_plottable] … … 495 500 path = dlg.GetPath() 496 501 mypath = os.path.basename(path) 502 503 #TODO: This is bad design. The DataLoader is designed to recognize extensions. 504 # It should be a simple matter of calling the .save(file, data, '.xml') method 505 # of the DataLoader.loader.Loader class. 506 497 507 if os.path.splitext(mypath)[1].lower() ==".txt": 498 508 self._onsaveTXT(path)
Note: See TracChangeset
for help on using the changeset viewer.