Ignore:
Timestamp:
Oct 6, 2011 9:56:24 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
7d12951
Parents:
90ddcdb
Message:

removed incorrect dialog msg

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r3fb5e68 r1153d0e  
    10721072            event.Skip() 
    10731073        if len(self.parent._manager.fit_thread_list)>0 and\ 
    1074                     self.parent._manager._fit_engine != "park": 
     1074                    self.parent._manager._fit_engine != "park" and\ 
     1075                    self._manager.sim_page.uid == self.uid:  
    10751076            msg = "The FitEnging will be set to 'ParkMC'\n" 
    10761077            msg += " to fit with more than one data set..." 
  • fittingview/src/sans/perspectives/fitting/simfitpage.py

    r31469d50 r1153d0e  
    138138        ## making sure all parameters content a constraint 
    139139        ## validity of the constraint expression is own by fit engine 
     140        if self.parent._manager._fit_engine != "park" and\ 
     141                    self._manager.sim_page.uid == self.uid:  
     142            msg = "The FitEnging will be set to 'Park' fit engine\n" 
     143            msg += " for the simultaneous fit..." 
     144            #wx.MessageBox(msg, 'Info') 
     145            wx.PostEvent(self._manager.parent, StatusEvent(status=\ 
     146                            "Fitting: %s"%msg, info="info")) 
    140147        if self.show_constraint.GetValue(): 
    141148            if not self._set_constraint(): 
Note: See TracChangeset for help on using the changeset viewer.