scgraph 3.2.3__tar.gz → 3.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {scgraph-3.2.3 → scgraph-3.2.4}/PKG-INFO +1 -1
  2. {scgraph-3.2.3 → scgraph-3.2.4}/pyproject.toml +1 -1
  3. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/geograph.py +9 -8
  4. {scgraph-3.2.3 → scgraph-3.2.4}/CMakeLists.txt +0 -0
  5. {scgraph-3.2.3 → scgraph-3.2.4}/LICENSE +0 -0
  6. {scgraph-3.2.3 → scgraph-3.2.4}/README.md +0 -0
  7. {scgraph-3.2.3 → scgraph-3.2.4}/build/cp314-cp314-linux_x86_64/CMakeFiles/CheckCXX/CMakeLists.txt +0 -0
  8. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/__init__.py +0 -0
  9. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/contraction_hierarchies.py +0 -0
  10. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/bindings/graph_bindings.cpp +0 -0
  11. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/bmssp.hpp +0 -0
  12. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/contraction_hierarchies.cpp +0 -0
  13. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/contraction_hierarchies.hpp +0 -0
  14. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/graph.cpp +0 -0
  15. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/graph.hpp +0 -0
  16. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/graph_utils.cpp +0 -0
  17. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/graph_utils.hpp +0 -0
  18. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/transit_node_routing.cpp +0 -0
  19. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/cpp/src/transit_node_routing.hpp +0 -0
  20. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/graph.py +0 -0
  21. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/graph_utils.py +0 -0
  22. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/grid.py +0 -0
  23. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/helpers/__init__.py +0 -0
  24. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/helpers/geojson.py +0 -0
  25. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/helpers/visvalingam.py +0 -0
  26. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/transit_node_routing.py +0 -0
  27. {scgraph-3.2.3 → scgraph-3.2.4}/scgraph/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scgraph
3
- Version: 3.2.3
3
+ Version: 3.2.4
4
4
  Summary: Determine an approximate distance and route between two points on earth.
5
5
  Author-Email: Connor Makowski <conmak@mit.edu>
6
6
  License-Expression: MIT
@@ -26,7 +26,7 @@ include = [
26
26
 
27
27
  [project]
28
28
  name = "scgraph"
29
- version = "3.2.3"
29
+ version = "3.2.4"
30
30
  description = "Determine an approximate distance and route between two points on earth."
31
31
  authors = [
32
32
  {name="Connor Makowski", email="conmak@mit.edu"}
@@ -1943,15 +1943,16 @@ class GeoGraph(
1943
1943
  except Exception as e:
1944
1944
  # Cleanup temp nodes from the graph
1945
1945
  self.__cleanup_temp_nodes__()
1946
- print("An error occurred while calculating the shortest path:")
1947
- print("This is likely caused by a disconnect in the graph.")
1948
- print(
1949
- "You can ensure a solution by setting destination_node_addition_type='all' and setting your lat_lon_bound=180."
1950
- )
1951
- print(
1952
- "This will, however, result in a much longer runtime per shortest path query."
1946
+ print_console(
1947
+ (
1948
+ "An error occurred while calculating the shortest path:\n"
1949
+ "This is likely caused by a disconnect in the graph.\n"
1950
+ "You can ensure a solution by setting destination_node_addition_type='all' and setting your lat_lon_bound=180.\n"
1951
+ "This will, however, result in a much longer runtime per shortest path query.\n"
1952
+ "If not in an exception block, see the stacktrace below for more details:\n"
1953
+ ),
1954
+ silent=silent,
1953
1955
  )
1954
- print("See the stacktrace below for more details:")
1955
1956
  raise e
1956
1957
 
1957
1958
  def distance_matrix(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes