Skip to content

Commit b038323

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 38c8efb commit b038323

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dodiscover/ci/categorical_test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def power_divergence(
5757
Returns a tuple (chi, p_value, dof). `chi` is the
5858
chi-squared test statistic. The `p_value` for the test, i.e. the
5959
probability of observing the computed chi-square statistic (or an even
60-
higher value), given the null hypothesis that X \u27C2 Y | Zs is True.
60+
higher value), given the null hypothesis that X \u27c2 Y | Zs is True.
6161
If boolean = True, returns True if the p_value of the test is greater
6262
than `significance_level` else returns False.
6363
@@ -112,11 +112,11 @@ def power_divergence(
112112
# If one of the values is 0 in the 2x2 table.
113113
if isinstance(z_state, str):
114114
logging.info(
115-
f"Skipping the test {X} \u27C2 {Y} | {Z[0]}={z_state}. Not enough samples"
115+
f"Skipping the test {X} \u27c2 {Y} | {Z[0]}={z_state}. Not enough samples"
116116
)
117117
else:
118118
z_str = ", ".join([f"{var}={state}" for var, state in zip(Z, z_state)])
119-
logging.info(f"Skipping the test {X} \u27C2 {Y} | {z_str}. Not enough samples")
119+
logging.info(f"Skipping the test {X} \u27c2 {Y} | {z_str}. Not enough samples")
120120

121121
if np.isnan(c):
122122
raise RuntimeError(

0 commit comments

Comments
 (0)