Skip to content

Commit

Permalink
more tests, use sample data in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elbeejay committed Jun 15, 2024
1 parent 724c012 commit 6e2a130
Show file tree
Hide file tree
Showing 6 changed files with 35,614 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/GOSTnets/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@ def edges_and_nodes_gdf_to_graph(
oneway_tag=None,
):
"""
Function for generating a G object from a saved .csv of edges
Function for generating a G object from dataframse of nodes and one of edges
Parameters
----------
fpath_nodes : str
path to a .csv containing nodes
fpath_edges : str
path to a .csv containing edges
nodes_df : str
Pandas DataFrame with node information
edges_df : str
Pandas DataFrame with edges information
u_tag : str
optional. specify column containing the node ID. This is used to only include entries that have a value.
u_tag : str
Expand Down
Binary file added tests/iceland_unclean.pickle
Binary file not shown.
Loading

0 comments on commit 6e2a130

Please sign in to comment.