Skip to content

Commit

Permalink
Merge pull request #200 from jGaboardi/doc_clean
Browse files Browse the repository at this point in the history
minor spaghetti/util.py doc clean
  • Loading branch information
jGaboardi committed Dec 11, 2018
2 parents 576d5e5 + fc2d214 commit 0f0d7aa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions spaghetti/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ def dijkstra(ntw, v0, initial_dist=np.inf):


def dijkstra_mp(ntw_vertex):
"""
Compute the shortest path between a start vertex and all other
"""Compute the shortest path between a start vertex and all other
vertices in the web utilizing multiple cores upon request.
Parameters
Expand Down Expand Up @@ -434,8 +433,7 @@ def snap_points_to_links(points, links):
@requires('geopandas', 'shapely')
def _points_as_gdf(net, vertices, vertices_for_arcs, pp_name, snapped,
id_col=None, geom_col=None):
"""
Internal function for returning a point geopandas.GeoDataFrame
"""Internal function for returning a point geopandas.GeoDataFrame
called from within ``spaghetti.element_as_gdf()``.
Parameters
Expand Down Expand Up @@ -501,8 +499,7 @@ def _points_as_gdf(net, vertices, vertices_for_arcs, pp_name, snapped,

@requires('geopandas', 'shapely')
def _arcs_as_gdf(net, points, id_col=None, geom_col=None):
"""
Internal function for returning a edges geopandas.GeoDataFrame
"""Internal function for returning a edges geopandas.GeoDataFrame
called from within ``spaghetti.element_as_gdf()``.
Returns
Expand Down

0 comments on commit 0f0d7aa

Please sign in to comment.