Changes in src/sas/sascalc/pr/fit/BumpsFitting.py [3e6829d:9a5097c] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/fit/BumpsFitting.py
r3e6829d r9a5097c 2 2 BumpsFitting module runs the bumps optimizer. 3 3 """ 4 from __future__ import division5 6 4 import os 7 5 from datetime import timedelta, datetime … … 36 34 class Progress(object): 37 35 def __init__(self, history, max_step, pars, dof): 38 remaining_time = int(history.time[0]*( max_step/history.step[0]-1))36 remaining_time = int(history.time[0]*(float(max_step)/history.step[0]-1)) 39 37 # Depending on the time remaining, either display the expected 40 38 # time of completion, or the amount of time remaining. Use precision
Note: See TracChangeset
for help on using the changeset viewer.