Skip to content

Commit 03fb9d0

Browse files
committed
Address commments
Signed-off-by: Adam Li <[email protected]>
1 parent 9b21a27 commit 03fb9d0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pywhy_stats/conditional_ksample/bregman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525

2626
from ..pvalue_result import PValueResult
27-
from .base import _compute_propensity_scores, _preprocess_propensity_data, compute_null
27+
from .base_propensity import _compute_propensity_scores, _preprocess_propensity_data, compute_null
2828

2929

3030
def condind(

pywhy_stats/conditional_ksample/kcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
)
2424

2525
from ..pvalue_result import PValueResult
26-
from .base import _compute_propensity_scores, _preprocess_propensity_data, compute_null
26+
from .base_propensity import _compute_propensity_scores, _preprocess_propensity_data, compute_null
2727

2828

2929
# XXX: determine if we can do this with Y being optional.

tests/conditional_ksample/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33
from numpy.testing import assert_array_almost_equal
44

5-
from pywhy_stats.conditional_ksample.base import compute_null
5+
from pywhy_stats.conditional_ksample.base_propensity import compute_null
66

77

88
# Define a dummy test statistic function for testing

tests/conditional_ksample/test_cd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_cd_simulation_multi_environment(cd_func, cd_kwargs):
192192

193193
res = cd_func.condind(
194194
X=df[["x"]],
195-
Y=df[["z"]].copy(),
195+
Y=df[["z"]],
196196
group_ind=df[group_col],
197197
null_sample_size=null_sample_size,
198198
n_jobs=-1,
@@ -223,7 +223,7 @@ def test_cd_simulation_multi_environment(cd_func, cd_kwargs):
223223

224224
res = cd_func.condind(
225225
X=df[["x", "x1"]],
226-
Y=df[["z"]].copy(),
226+
Y=df[["z"]],
227227
group_ind=df[group_col],
228228
null_sample_size=null_sample_size,
229229
n_jobs=-1,

0 commit comments

Comments
 (0)