Changeset ad6f597 in sasview for calculatorview/perspectives/calculator/sample_editor.py
- Timestamp:
- May 4, 2010 12:51:49 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:
- 85e665e
- Parents:
- 90b23e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/sample_editor.py
r91f151a rad6f597 3 3 import sys 4 4 from copy import deepcopy 5 from DataLoader.loader import Loader6 5 from sans.guiframe.utils import check_float 7 6 … … 14 13 else: 15 14 _STATICBOX_WIDTH = 480 16 PANEL_WIDTH = 5 3015 PANEL_WIDTH = 550 17 16 PANEL_HEIGHT = 430 18 17 FONT_VARIANT = 1 … … 519 518 520 519 app = wx.App() 521 # Instantiate a loader 522 loader = Loader() 523 # Load data 524 data = loader.load("MAR07232_rest.ASC") 525 #print output 526 dlg = SampleDialog(sample=data.sample) 520 from DataLoader.data_info import Sample 521 sample = Sample() 522 dlg = SampleDialog(sample=sample) 527 523 dlg.ShowModal() 528 #print dlg.get_sample()529 524 app.MainLoop() 530 525
Note: See TracChangeset
for help on using the changeset viewer.