ProgressMeter.jl
ProgressMeter.jl copied to clipboard
ETA is not flushed fully
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
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 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" ...