Skip to content

Commit 83c060e

Browse files
committed
remove . prefix from default TMY cache path for consistency with caching from other RouteE libraries
1 parent 8512394 commit 83c060e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

routee/transit/thermal_energy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def add_HVAC_energy(
213213
Trips on selected date and route, including deadhead trips.
214214
output_dir : Path or None
215215
Directory used to store downloaded TMY weather files (in a ``TMY/``
216-
subdirectory). If None, defaults to ``~/.cache/routee-transit/TMY``.
216+
subdirectory). If None, defaults to ``~/cache/routee-transit/TMY``.
217217
218218
Returns
219219
-------
@@ -225,7 +225,7 @@ def add_HVAC_energy(
225225
if output_dir is not None:
226226
tmy_dir = output_dir / "TMY"
227227
else:
228-
tmy_dir = Path.home() / ".cache" / "routee-transit" / "TMY"
228+
tmy_dir = Path.home() / "cache" / "routee-transit" / "TMY"
229229

230230
# Based on gtfs stops data, get counties served
231231
df_stops = feed.stops

0 commit comments

Comments
 (0)