Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Oct 11, 2024
1 parent 2f47a83 commit 9a939f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Development

* Formulas should not include scale() or center(). Thanks to @alexjonesphd for reporting Issue #113.

# 0.0.12

* Bug in datagrid() prevented "balanced" grid type. Thanks to @danielkberry for the fix (PR #104).
Expand Down
2 changes: 1 addition & 1 deletion marginaleffects/model_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def validate_formula(self):

if "scale(" in formula or "center(" in formula:
raise ValueError(
"The formula cannot include scale( or center(. Please transform your variables before fitting the model."
"The formula cannot include scale( or center(. Please center your variables before fitting the model."
)
self.formula = formula

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "marginaleffects"
version = "0.0.12.2"
version = "0.0.12.3"
description = "Predictions, counterfactual comparisons, slopes, and hypothesis tests for statistical models."
readme = "README.md"
requires-python = ">=3.10"
Expand Down

0 comments on commit 9a939f4

Please sign in to comment.