From 0a332a33657ea918a2c9ef4ed1c0045c25a93632 Mon Sep 17 00:00:00 2001 From: AminTorabi-NOAA Date: Wed, 14 Aug 2024 15:22:00 -0400 Subject: [PATCH] update for reading flowline_attribute instead of flowpath_attribute --- src/troute-network/troute/HYFeaturesNetwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/troute-network/troute/HYFeaturesNetwork.py b/src/troute-network/troute/HYFeaturesNetwork.py index dbaf20253..fb8a19225 100644 --- a/src/troute-network/troute/HYFeaturesNetwork.py +++ b/src/troute-network/troute/HYFeaturesNetwork.py @@ -37,7 +37,7 @@ def read_geopkg(file_path, compute_parameters, waterbody_parameters, cpu_pool): # patterns for the layers we want to find layer_patterns = { 'flowpaths': r'flow[-_]?paths?|flow[-_]?lines?', - 'flowpath_attributes': r'flow[-_]?path[-_]?attributes?', + 'flowpath_attributes': r'flow[-_]?path[-_]?attributes?|flow[-_]?line[-_]?attributes?', 'lakes': r'lakes?', 'nexus': r'nexus?', 'network': r'network'