Skip to content

Commit

Permalink
fix list_layers
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu authored Nov 1, 2024
1 parent 638f6f0 commit 9913518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/troute-network/troute/HYFeaturesNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def find_layer_name(layers, pattern):

def read_geopkg(file_path, compute_parameters, waterbody_parameters, cpu_pool):
# Retrieve available layers from the GeoPackage
available_layers = gpd.list_layers(file_path)
available_layers = list(gpd.list_layers(file_path)["name"])

# patterns for the layers we want to find
layer_patterns = {
Expand Down

0 comments on commit 9913518

Please sign in to comment.