Skip to content

Better input validation in from_ragged_array#2290

Merged
jorisvandenbossche merged 3 commits intoshapely:mainfrom
jorisvandenbossche:from-ragged-better-input-validation
May 16, 2025
Merged

Better input validation in from_ragged_array#2290
jorisvandenbossche merged 3 commits intoshapely:mainfrom
jorisvandenbossche:from-ragged-better-input-validation

Conversation

@jorisvandenbossche
Copy link
Copy Markdown
Member

Noticed some other issues while investigating #2284, it was easy to pass invalid offset data. While we can do some cheap checks to avoid wrong data or crashes later down the line if a user is passing wrong data.

@jorisvandenbossche jorisvandenbossche changed the title Better input validtion in from_ragged_array Better input validation in from_ragged_array May 2, 2025
@coveralls
Copy link
Copy Markdown

coveralls commented May 2, 2025

Pull Request Test Coverage Report for Build 14797794260

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 86.14%

Totals Coverage Status
Change from base Build 14720178097: 0.3%
Covered Lines: 2660
Relevant Lines: 3088

💛 - Coveralls

@jorisvandenbossche jorisvandenbossche added this to the 2.1.1 milestone May 2, 2025
@jorisvandenbossche jorisvandenbossche merged commit 40ff00e into shapely:main May 16, 2025
26 checks passed
@jorisvandenbossche jorisvandenbossche deleted the from-ragged-better-input-validation branch May 16, 2025 13:42
hillwithsmallfields pushed a commit to hillwithsmallfields/shapely that referenced this pull request Dec 9, 2025
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