You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PySCHISM: TypeError in fgrid.py: 'sjoin() got an unexpected keyword argument 'op''
I encountered a TypeError in fgrid.py when trying to use the modify_by_region method in PySCHISM. The error message indicates that sjoin() got an unexpected keyword argument 'op'. This issue seems to be caused by a change in the geopandas API, where the op parameter has been replaced by predicate.
The text was updated successfully, but these errors were encountered:
mansurjisan
changed the title
TypeError in fgrid.py: 'sjoin() got an unexpected keyword argument 'op''
PySCHISM: TypeError in fgrid.py: 'sjoin() got an unexpected keyword argument 'op''
Aug 15, 2024
@mansurjisan can you test the update in PR and see if it resolves the issues. Unfortunately pyschism doesn't yet have any automated tests, so we need manual testing to confirm it works. See #131
PySCHISM: TypeError in fgrid.py: 'sjoin() got an unexpected keyword argument 'op''
I encountered a
TypeError
infgrid.py
when trying to use themodify_by_region
method in PySCHISM. The error message indicates thatsjoin()
got an unexpected keyword argument 'op'. This issue seems to be caused by a change in thegeopandas
API, where theop
parameter has been replaced bypredicate
.Steps to Reproduce
Proposed Fix
The issue can be fixed by replacing op with predicate:
Additional Information
PySCHISM version: 0.1.15
Geopandas version: 1.0.1
Python version: 3.9.19
The text was updated successfully, but these errors were encountered: