Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

In AdaptiveETA, the ETA value will decrease#74

Closed
dfshan wants to merge 1 commit into
wolph:developwolph/python-progressbar:developfrom
dfshan:developdfshan/python-progressbar:developCopy head branch name to clipboard
Closed

In AdaptiveETA, the ETA value will decrease#74
dfshan wants to merge 1 commit into
wolph:developwolph/python-progressbar:developfrom
dfshan:developdfshan/python-progressbar:developCopy head branch name to clipboard

Conversation

@dfshan

@dfshan dfshan commented Jun 24, 2016

Copy link
Copy Markdown
Contributor

#72

In v3.9.0, AdaptiveETA will not decrease as time goes on.

For example, when I run the example with python2 examples.py eta, the AdaptiveETA value will be stuck at 00:00:04.

But what I expected is that it will decreases its value as time goes on, just as what ETA does.

Comment thread progressbar/widgets.py
value = None
elapsed = 0
else:
value = values[-1] - values[0]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would effectively make the adaptive ETA use only 1 sample instead of the configured amount of samples. Can you explain what you wanted to achieve with this modification?

@wolph

wolph commented Jun 24, 2016

Copy link
Copy Markdown
Owner

This is fixed in the latest release. Thanks for the help!

@wolph wolph closed this Jun 24, 2016
@dfshan

dfshan commented Jun 24, 2016

Copy link
Copy Markdown
Contributor Author

👍 I have seen that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.