Changeset 959981b in sasview
- Timestamp:
- May 10, 2011 12:51:36 PM (14 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:
- e5c7052
- Parents:
- 4cac267a
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r0275276 r959981b 457 457 format = ".txt" 458 458 if os.path.splitext(mypath)[1].lower() == format: 459 self._onsaveTXT( path) 459 # Make sure the ext included in the file name 460 # especially on MAC 461 fName = os.path.splitext(path)[0] + format 462 self._onsaveTXT(fName) 460 463 format = ".xml" 461 464 if os.path.splitext(mypath)[1].lower() == format: 462 loader.save(path, data, format) 465 # Make sure the ext included in the file name 466 # especially on MAC 467 fName = os.path.splitext(path)[0] + format 468 loader.save(fName, data, format) 463 469 try: 464 470 self._default_save_location = os.path.dirname(path) -
guiframe/local_perspectives/plotting/Plotter2D.py
r52f3c98 r959981b 609 609 format = ".dat" 610 610 if os.path.splitext(mypath)[1].lower() == format: 611 loader.save(path, data, format) 611 # Make sure the ext included in the file name 612 # especially on MAC 613 fName = os.path.splitext(path)[0] + format 614 loader.save(fName, data, format) 612 615 try: 613 616 self._default_save_location = os.path.dirname(path)
Note: See TracChangeset
for help on using the changeset viewer.