Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Moss committed Feb 2, 2024
1 parent 007e934 commit 488006f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/aequilibrae/paths/test_route_choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ def test_route_choice_exceptions(self):
with self.subTest(a=a, b=b, max_routes=max_routes, max_depth=max_depth):
with self.assertRaises(ValueError):
rc.run(a, b, max_routes=max_routes, max_depth=max_depth)


def generate_line_strings(project, graph, results):
"""Debug method"""
import geopandas as gpd
Expand All @@ -128,9 +130,7 @@ def generate_line_strings(project, graph, results):
(
*od,
shapely.MultiLineString(
links.loc[
graph.graph[graph.graph.__compressed_id__.isin(route)].link_id
].geometry.to_list()
links.loc[graph.graph[graph.graph.__compressed_id__.isin(route)].link_id].geometry.to_list()
),
)
)
Expand Down

0 comments on commit 488006f

Please sign in to comment.