diff --git a/pyproject.toml b/pyproject.toml index c5754c2..2a01d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ where = ["src"] [project] name = "coastsat_package" dynamic = ["readme"] -version = "0.1.54" +version = "0.1.55" authors = [ { name="Sharon Fitzpatrick" }, ] diff --git a/src/coastsat/SDS_shoreline.py b/src/coastsat/SDS_shoreline.py index 404f751..ccea3d5 100644 --- a/src/coastsat/SDS_shoreline.py +++ b/src/coastsat/SDS_shoreline.py @@ -156,7 +156,7 @@ def filter_shoreline(shoreline, satname, sl_date, acc_georef, cloud_cover, outpu crs=f"epsg:{output_epsg}", ) if shoreline_gdf is None: - return np.array(shoreline) + return shoreline shoreline_gdf.reset_index(drop=True, inplace=True) # Filter shorelines within the extraction area.