Skip to content

Commit

Permalink
refactor(general): cache crop_to_target_areas
Browse files Browse the repository at this point in the history
  • Loading branch information
nialov committed Nov 2, 2022
1 parent ddf9fa8 commit 00eaa2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fractopo/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ def efficient_clip(
return geodataframe


@JOBLIB_CACHE.cache
def crop_to_target_areas(
traces: Union[gpd.GeoSeries, gpd.GeoDataFrame],
areas: Union[gpd.GeoSeries, gpd.GeoDataFrame],
Expand Down

0 comments on commit 00eaa2d

Please sign in to comment.