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

Fixed assertion message to match actual logic #512

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Conversation

liaoleo
Copy link
Contributor

@liaoleo liaoleo commented Mar 21, 2024

The previous assertion message incorrectly indicated that the number of exploded_src must be less than or equal to paths_per_worker, contradicting the actual assertion logic (which ensures the length of exploded_src is at least equal to paths_per_worker). This commit corrects that message to accurately reflect the true intent of the assertion.

Fixed assertion message to match actual logic
Copy link
Collaborator

@2015aroras 2015aroras 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!

@2015aroras 2015aroras merged commit b17abd0 into allenai:main Apr 26, 2024
10 checks passed
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