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

[Backport release-1.10] [python] Remove arbitrary dimension limit in used_shape #2503

Merged
merged 1 commit into from
May 2, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented May 2, 2024

Backport 6750916 from #2479

We were previously using `range(20)` as an arbitrarily high number of
dimensions that people were unlikely to use. Instead, `itertools.count`
provides a range-like counter that goes on forever. The function is
still guaranteed to exit because there will always be a finite number
of `soma_dim_{i}_domain_{endpoint}` metadata values.
@johnkerl johnkerl changed the title [Backport release-1.10] Remove arbitrary dimension limit in used_shape. [Backport release-1.10] [python] Remove arbitrary dimension limit in used_shape May 2, 2024
@johnkerl johnkerl merged commit e4fd7f1 into release-1.10 May 2, 2024
@johnkerl johnkerl deleted the backport-2479-to-release-1.10 branch May 2, 2024 22:07
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