Skip to content

Commit

Permalink
Fix bus coords again
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph McKinsey committed Aug 6, 2024
1 parent cefee66 commit 960b4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LocalFeeder/FeederSimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def get_bus_coords(self) -> Dict[str, Tuple[float, float]] | None:
bus_path = os.path.join(os.path.dirname(self._feeder_file), "Buscoords.dss")
if not os.path.exists(bus_path):
self.bus_coords = None
return bus_coords
return self.bus_coords
with open(bus_path, "r") as f:
bus_coord_csv = csv.reader(f, delimiter=" ")
bus_coords = {}
Expand Down

0 comments on commit 960b4a9

Please sign in to comment.