ProgressMeter.jl icon indicating copy to clipboard operation
ProgressMeter.jl copied to clipboard

ETA is not flushed fully

Open gsivori opened this issue 4 years ago • 2 comments

prog_meter_eta The ETA begins estimating a time around a couple of days and, as it progresses, the estimation changes the time but does not flush the leftover characters from the terminal. On the image: ti is the simulation timesteps

gsivori avatar Jan 19 '21 07:01 gsivori

This happens in IJulia as well.

However, it does NOT happen if you enable the showspeed option. Thus, it is probably related to the showspeed option.

DevJac avatar May 20 '21 05:05 DevJac

@DevJac the showspeed option somehow is no longer there.

gliphs = BarGlyphs('|','█', ['▁' ,'▂' ,'▃' ,'▄' ,'▅' ,'▆', '▇'],' ','|',) p = Progress(n_steps, dt=0.5, barglyphs=gliphs,color=:blue, barlen=10,showspeed=true)

MethodError: no method matching Progress(::Int64; dt=0.5, barglyphs=BarGlyphs('|', '█', ['▁', '▂', '▃', '▄', '▅', '▆', '▇'], ' ', '|'), color=:blue, barlen=10, showspeed=true) Closest candidates are: Progress(::Integer; dt, desc, color, output, barlen, barglyphs, offset, start, enabled) at /home/gsivori/.julia/packages/ProgressMeter/0ub8y/src/ProgressMeter.jl:86 got unsupported keyword argument "showspeed" Progress(::Integer, ::Real) at /home/gsivori/.julia/packages/ProgressMeter/0ub8y/src/ProgressMeter.jl:96 got unsupported keyword arguments "dt", "barglyphs", "color", "barlen", "showspeed" Progress(::Integer, ::Real, ::AbstractString) at /home/gsivori/.julia/packages/ProgressMeter/0ub8y/src/ProgressMeter.jl:96 got unsupported keyword arguments "dt", "barglyphs", "color", "barlen", "showspeed" ...

gsivori avatar May 26 '21 08:05 gsivori