Changeset ad1e49c in sasview
- Timestamp:
- May 10, 2011 4:20:26 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:
- b92cbf61
- Parents:
- c91ef7e
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
r959981b rad1e49c 444 444 if dlg.ShowModal() == wx.ID_OK: 445 445 path = dlg.GetPath() 446 # ext_num = 0 for .txt, ext_num = 1 for .xml 447 # This is MAC Fix 448 ext_num = dlg.GetFilterIndex() 449 if ext_num == 0: 450 format = '.txt' 451 else: 452 format = '.xml' 453 path = os.path.splitext(path)[0] + format 446 454 mypath = os.path.basename(path) 447 455 -
guiframe/local_perspectives/plotting/Plotter2D.py
r959981b rad1e49c 595 595 if dlg.ShowModal() == wx.ID_OK: 596 596 path = dlg.GetPath() 597 # ext_num = 0 for .txt, ext_num = 1 for .xml 598 # This is MAC Fix 599 ext_num = dlg.GetFilterIndex() 600 if ext_num == 0: 601 format = '.dat' 602 else: 603 format = '' 604 path = os.path.splitext(path)[0] + format 597 605 mypath = os.path.basename(path) 598 606
Note: See TracChangeset
for help on using the changeset viewer.