Skip to content

Commit

Permalink
Update spaghetti/network.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Fleischmann <[email protected]>
  • Loading branch information
jGaboardi and martinfleis authored Sep 19, 2021
1 parent a051c72 commit 3bc0e4e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions spaghetti/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
SAME_SEGMENT = (-0.1, -0.1)


dep_msg = "The next major release of pysal/spaghetti (2.0.0) will "
dep_msg += "drop support for all ``libpysal.cg`` geometries, which "
dep_msg += "includes using ``libpysal.cg`` geometries for network "
dep_msg += "instantiation and all internal computation. This change "
dep_msg += "is a first step in refactoring ``spaghetti`` that is "
dep_msg += "expected to result in dramatically reduced runtimes for "
dep_msg += "network instantiation and operations. Users currently "
dep_msg += "requiring network and point pattern input as ``libpysal.cg`` "
dep_msg += "geometries should prepare for this simply by converting "
dep_msg += "to ``shapely`` geometries."
dep_msg = (
"The next major release of pysal/spaghetti (2.0.0) will "
"drop support for all ``libpysal.cg`` geometries. This change "
"is a first step in refactoring ``spaghetti`` that is "
"expected to result in dramatically reduced runtimes for "
"network instantiation and operations. Users currently "
"requiring network and point pattern input as ``libpysal.cg`` "
"geometries should prepare for this simply by converting "
"to ``shapely`` geometries."
)
warnings.warn(f"{dep_msg}", FutureWarning)


Expand Down

0 comments on commit 3bc0e4e

Please sign in to comment.