Commit 7111643
Fix early return order: check empty before assigning to sdata_filt
Assigning an empty GeoDataFrame to sdata_filt triggers ShapesModel
validation which rejects empty geometry. Move the empty check before
the assignment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0bb2019 commit 7111643
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | 247 | | |
249 | 248 | | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments