Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add progress status for layers #829

Conversation

larsbijl
Copy link
Contributor

Add progress bar calculated based on layer completion status.

Closes #769

Add progressbar calculated based on layer completion status.

Closes AcademySoftwareFoundation#769
@larsbijl
Copy link
Contributor Author

progressbar

Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@bcipriano bcipriano merged commit 4366d86 into AcademySoftwareFoundation:master Dec 2, 2020
if frame.data.state == opencue.api.job_pb2.SUCCEEDED:
progress = 100
elif frame.data.state == opencue.api.job_pb2.RUNNING:
progress = int(cuegui.Progress.progress(frame.id()))
Copy link
Collaborator

Choose a reason for hiding this comment

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

@larsbijl Question about this change -- cuegui.Progress on this line, what does that refer to? Is there meant to be a new class/module added in this change that is missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a change we have in our branch where we use progress information gathered from the frame out of redis.
it must have slipped in.

This section on progress for the TYPE_FRAME can be removed as we don't have this implemented yet.

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.

Per Layer Progress Status
2 participants