Skip to content

Commit abc951e

Browse files
updated requirements
1 parent 0bd4212 commit abc951e

4 files changed

Lines changed: 191 additions & 13 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ readme = "README.md"
88
# packages = [{ include = "libeq", from = "src" }]
99
requires-python = ">= 3.10"
1010
dependencies = [
11-
"numpy", "pandas"
11+
"numpy",
12+
"pandas",
13+
"pydantic>=2.12.5",
1214
]
1315

1416
[tool.setuptools.packages.find]

requirements.txt

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv export --format requirements.txt
3-
numpy==2.2.6 ; python_full_version < '3.11'
2+
# uv export --no-hashes --format requirements-txt
3+
annotated-types==0.7.0
4+
# via pydantic
5+
numpy==2.2.6 ; python_full_version < '3.11'
6+
# via
7+
# libeq
8+
# pandas
49
numpy==2.3.4 ; python_full_version >= '3.11'
5-
pandas==2.3.3
6-
python-dateutil==2.9.0.post0
7-
pytz==2025.2
8-
six==1.17.0
9-
tzdata==2025.2
10+
# via
11+
# libeq
12+
# pandas
13+
pandas==2.3.3
14+
# via libeq
15+
pydantic==2.12.5
16+
# via libeq
17+
pydantic-core==2.41.5
18+
# via pydantic
19+
python-dateutil==2.9.0.post0
20+
# via pandas
21+
pytz==2025.2
22+
# via pandas
23+
six==1.17.0
24+
# via python-dateutil
25+
typing-extensions==4.15.0
26+
# via
27+
# pydantic
28+
# pydantic-core
29+
# typing-inspection
30+
typing-inspection==0.4.2
31+
# via pydantic
32+
tzdata==2025.2
33+
# via pandas

src/libeq/outer_fixed_point/wrappers.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ def unwrapped(concentration, **kwargs):
8686
log_ks,
8787
)
8888

89-
def wrapper(
90-
concentration,
91-
**kwargs,
92-
):
89+
def wrapper(concentration, **kwargs):
9390
if independent_component_activity is not None:
9491
transposed_activity = independent_component_activity[:, np.newaxis]
9592
else:
@@ -237,7 +234,6 @@ def _select_species_concentration(c, n_components, n_species):
237234
def _update_formation_constants(
238235
log_beta, ionic_strength, ref_ionic_strength, dbh_values
239236
):
240-
# breakpoint()
241237
cis = np.tile(ionic_strength, ref_ionic_strength.shape[0])
242238
radqcis = np.sqrt(cis)
243239
fib2 = radqcis / (1 + (dbh_values["bdh"] * radqcis))

0 commit comments

Comments
 (0)