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

fixes infinite loop in getLineCount #6689

Merged
merged 3 commits into from
Dec 12, 2022
Merged

fixes infinite loop in getLineCount #6689

merged 3 commits into from
Dec 12, 2022

Conversation

normanrz
Copy link
Member

@normanrz normanrz commented Dec 9, 2022

Fixes a bug in getLineCount that would result in an infinite loop.

Steps to test:

  • Call getLineCount('DEBUG voxelytics.commons.workflow.resumable_executor.resumable_executor Looking for checkpoint: artifacts/xxxxxxxx-xxxx-xx-xx-xxxxx/compute_segment_stats/segment_stats__xxxxxxxxxx/resumable_executions/main/step/xxxxxx,xxxxxx,xxxx,xxxx,xx,xxx/checkpoint. Exists: True', 110) (should result in 4)

(Please delete unneeded items, merge only when none are left open)

@normanrz normanrz requested a review from daniel-wer December 9, 2022 12:57
@normanrz normanrz self-assigned this Dec 9, 2022
Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

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

Thank you, LGTM! 👍

@bulldozer-boy bulldozer-boy bot merged commit 5f04119 into master Dec 12, 2022
@bulldozer-boy bulldozer-boy bot deleted the fix-line-count branch December 12, 2022 09:42
hotzenklotz added a commit that referenced this pull request Dec 12, 2022
…cing

* 'master' of github.com:scalableminds/webknossos:
  fixes infinite loop in getLineCount (#6689)
  Catch Malformed Json Exceptions (#6691)
  Implement folder-specific search for datasets (#6677)
  Fix s3fs region access, s3 url styles (#6679)
  Swagger annotation for shortLinkByKey (#6682)
  Improve layout of dashboard
  Provide valid JSON schema (#6642)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants