Changeset e99126a in sasview for theoryview/perspectives
- Timestamp:
- Aug 2, 2010 12:55:06 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:
- 4f81342
- Parents:
- 023c8e2
- Location:
- theoryview/perspectives/theory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
theoryview/perspectives/theory/model_panel.py
r3c44c66 re99126a 367 367 Receive a list of data from gui_manager to plot theory 368 368 """ 369 if list==[]: 370 msg = "Please select data for Theory perspective.\n" 371 dial = wx.MessageDialog(None, msg, 'Error Loading File', 372 wx.OK | wx.ICON_EXCLAMATION) 373 dial.ShowModal() 374 return 375 else : 376 msg = "Theory perspective does not allow Data.\n" 377 msg += "Please import theory or go the theory perspective.\n" 378 dial = wx.MessageDialog(None, msg, 'Error Loading File', 379 wx.OK | wx.ICON_EXCLAMATION) 380 dial.ShowModal() 381 369 pass 370 382 371 def reset_page(self, state): 383 372 """ -
theoryview/perspectives/theory/theory.py
r74755ff re99126a 445 445 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 446 446 title= str(title))) 447 self.parent.set_created_data(data_list=[(new_plot, None)]) 448 447 449 msg = "Plot 1D complete !" 448 450 wx.PostEvent( self.parent, StatusEvent( status= msg , type="stop" )) … … 495 497 theory.xmin= data.xmin 496 498 theory.xmax= data.xmax 497 499 500 self.parent.set_created_data(data_list=[(theory, None)]) 501 498 502 ## plot 499 503 wx.PostEvent(self.parent, NewPlotEvent(plot=theory,
Note: See TracChangeset
for help on using the changeset viewer.