Skip to content

Commit 7ec86e5

Browse files
EliEli
authored andcommitted
binary load regression.
1 parent 62e130b commit 7ec86e5

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build_sphinx.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ jobs:
5858
import sys, subprocess
5959
try:
6060
import tomllib # py>=3.11
61+
with open("pyproject.toml", "rb") as f: # NOTE: use load() with binary file
62+
return tomllib.load(f)
6163
except ModuleNotFoundError:
6264
subprocess.check_call([sys.executable, "-m", "pip", "install", "tomli"])
6365
import tomli as tomllib
66+
with open("pyproject.toml", "rb") as f:
67+
return tomllib.load(f)
6468
6569
NAME_MAP = {
6670
"Pillow": "pillow",

schimpy/station.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def station_subset(
626626
column called "alias" and this will become the label used.
627627
628628
extract_freq : str or pd.tseries.TimeOffset
629-
Frequency to extract ... this allows some economies if you want, say, 15min data. Use pandas freq string such as '15T' for 15min
629+
Frequency to extract. This allows some economies if you want, say, 15min data. Use pandas freq string such as '15T' for 15min
630630
631631
convert: str or function
632632
A small number of conversions are supported ("ft", "ec" for uS/cm, "cfs" for flow)

0 commit comments

Comments
 (0)