Changeset f76bf17 in sasview


Ignore:
Timestamp:
Mar 19, 2015 7:25:25 AM (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:
8eee1d7
Parents:
2eeca83
Message:

A fix ticket for #324 - logging now captures and records warnings in the
cosole log. Removed a redundant separator in the Fitting menu that was
there from when the fitting engines were still available. Changed the
logging type of a successful data load from a warning to info.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sasview/sasview.py

    r517f3d4 rf76bf17  
    1717                    filename=os.path.join(os.path.expanduser("~"), 
    1818                                          'sasview.log')) 
     19logging.captureWarnings(True) 
    1920 
    2021class StreamToLogger(object): 
  • src/sas/guiframe/local_perspectives/data_loader/data_loader.py

    rd26dea0 rf76bf17  
    228228        message += log_msg 
    229229        self.load_complete(output=output, error_message=error_message, 
    230                            message=message, path=path, info='warning') 
     230                           message=message, path=path, info='info') 
    231231 
    232232    def load_update(self, output=None, message="", info="warning"): 
  • src/sas/perspectives/fitting/fitting.py

    r824e488 rf76bf17  
    180180        self.batch_menu = self.menu1.FindItemById(self.id_batchfit) 
    181181        self.batch_menu.Enable(False) 
    182         self.menu1.AppendSeparator() 
    183182 
    184183        self.menu1.AppendSeparator() 
Note: See TracChangeset for help on using the changeset viewer.