Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fast kmerf #369

Merged
merged 13 commits into from
May 24, 2023
Prev Previous commit
Next Next commit
make error trace better
  • Loading branch information
sampan501 committed May 16, 2023
commit 6ace768b0c80f03babd288d3bb62b956e5e81c93
4 changes: 3 additions & 1 deletion hyppo/independence/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def _check_nd_indeptest(self):
ny, _ = self.y.shape
if nx != ny:
raise ValueError(
"Shape mismatch, x and y must have shape " "[n, p] and [n, q]."
"Shape mismatch, x and y must have shape [n, p] and [n, q], found shape {} and {}".format(
self.x.shape, self.y.shape
)
)

def _check_min_samples(self):
Expand Down
3 changes: 2 additions & 1 deletion hyppo/ksample/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def check_dim(self):
def _check_nd_ksampletest(self, dims):
if len(set(dims)) > 1:
raise ValueError(
"Shape mismatch, inputs must have shape " "[n, p] and [m, p]."
"Shape mismatch, inputs must have shape "
"[n, p] and [m, p]. Found shapes {}".format(list(set(dims)))
)

def _convert_inputs_float64(self):
Expand Down