Changeset 19fce84 in sasview for src/sas


Ignore:
Timestamp:
Nov 27, 2017 5:18:57 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
378e808, 200bd7e
Parents:
f4480f0
Message:

Missed formatting of initial estimate time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r8f83719f r19fce84  
    575575        self.regConstantSuggestionButton.setText("{:.3g}".format(alpha)) 
    576576        self.regConstantSuggestionButton.setEnabled(True) 
    577         self.model.setItem(WIDGETS.W_COMP_TIME, QtGui.QStandardItem(str(elapsed))) 
     577        self.model.setItem(WIDGETS.W_COMP_TIME, QtGui.QStandardItem("{:.2g}".format(elapsed))) 
    578578        if message: 
    579579            logging.info(message) 
Note: See TracChangeset for help on using the changeset viewer.