We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a4aba commit e959a70Copy full SHA for e959a70
hecstac/ras/parser.py
@@ -945,9 +945,9 @@ def concave_hull(self):
945
"""Compute and return the concave hull (polygon) for cross sections."""
946
polygons = []
947
xs_df = self.xs_gdf # shorthand
948
- assert not all(
949
- [i.is_empty for i in xs_df.geometry]
950
- ), "No valid cross-sections found. Possibly non-georeferenced model"
+ assert not all([i.is_empty for i in xs_df.geometry]), (
+ "No valid cross-sections found. Possibly non-georeferenced model"
+ )
951
assert len(xs_df) > 1, "Only one valid cross-section found."
952
for river_reach in xs_df["river_reach"].unique():
953
xs_subset = xs_df[xs_df["river_reach"] == river_reach]
0 commit comments