scgraph 2.1.1__tar.gz → 2.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scgraph
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: Determine an approximate route between two points on earth.
5
5
  Author-email: Connor Makowski <conmak@mit.edu>
6
6
  Project-URL: Homepage, https://github.com/connor-makowski/scgraph
@@ -1,6 +1,6 @@
1
1
  [tool.black]
2
2
  line-length = 80
3
- target-version = ['py39']
3
+ target-version = ['py312']
4
4
  exclude = '/.*(migrations|__pycache__|geographs).*/'
5
5
 
6
6
  [tool.setuptools]
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
12
12
 
13
13
  [project]
14
14
  name = "scgraph"
15
- version = "2.1.1"
15
+ version = "2.1.2"
16
16
  description = "Determine an approximate route between two points on earth."
17
17
  authors = [
18
18
  {name="Connor Makowski", email="conmak@mit.edu"}
@@ -727,7 +727,7 @@ class GeoGraph:
727
727
  if len(nodes) == 0:
728
728
  # Default to all if the lat_lon_bound fails to find any nodes
729
729
  return self.get_node_distances(
730
- node=nodes,
730
+ node=node,
731
731
  circuity=circuity,
732
732
  lat_lon_bound=180,
733
733
  node_addition_type=node_addition_type,
@@ -843,7 +843,6 @@ class GeoGraph:
843
843
  lat_lon_bound, (int, float)
844
844
  ), "Lat_lon_bound must be a number"
845
845
  assert lat_lon_bound > 0, "Lat_lon_bound must be greater than 0"
846
-
847
846
  node = [node["latitude"], node["longitude"]]
848
847
  # Get the distances to all other nodes
849
848
  distances = self.get_node_distances(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scgraph
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: Determine an approximate route between two points on earth.
5
5
  Author-email: Connor Makowski <conmak@mit.edu>
6
6
  Project-URL: Homepage, https://github.com/connor-makowski/scgraph
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = scgraph
3
- version = 2.1.1
3
+ version = 2.1.2
4
4
  description_file = README.md
5
5
 
6
6
  [options]
File without changes
File without changes
File without changes
File without changes