Ignore:
Timestamp:
Feb 18, 2015 12:01:28 PM (9 years ago)
Author:
krzywon
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:
e1251ef
Parents:
3fd3d5a4
Message:

Modified the batch fit panel to give a warning/message saying the file
selecctor is for selecting initial parameters rather than viewing fits.
This is a fix to ticket #234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/fitpanel.py

    r79492222 rfa09d62  
    371371        """ 
    372372        from fitpage import FitPage 
    373         panel = FitPage(parent=self) 
     373        from batchfitpage import BatchFitPage 
    374374        if self.batch_on: 
     375            panel = BatchFitPage(parent=self) 
    375376            self.batch_page_index += 1 
    376377            caption = "BatchPage" + str(self.batch_page_index) 
     
    378379        else: 
    379380            #Increment index of fit page 
     381            panel = FitPage(parent=self) 
    380382            self.fit_page_index += 1 
    381383            caption = "FitPage" + str(self.fit_page_index) 
     
    467469        if data_1d_list and data_2d_list: 
    468470            # need to warning the user that this batch is a special case 
    469             from sas import BatchDataDialog 
     471            from sas.perspectives.fitting.fitting_widgets import BatchDataDialog 
    470472            dlg = BatchDataDialog(self) 
    471473            if dlg.ShowModal() == wx.ID_OK: 
Note: See TracChangeset for help on using the changeset viewer.