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

Make sure borsar.Clusters can be used with pvals=None #112

Open
mmagnuski opened this issue Jan 25, 2023 · 0 comments
Open

Make sure borsar.Clusters can be used with pvals=None #112

mmagnuski opened this issue Jan 25, 2023 · 0 comments

Comments

@mmagnuski
Copy link
Owner

Currently this happens:

Traceback (most recent call last):

  File "C:\Users\mmagn\AppData\Local\Temp\ipykernel_27860\3130471510.py", line 7, in <cell line: 7>
    clst_check = borsar.Clusters(t_vals, clusters=clusters, dimnames=['vert', 'freq'],

  File "c:\src\borsar\borsar\cluster\obj.py", line 132, in __init__
    clusters, pvals = _clusters_safety_checks(

  File "c:\src\borsar\borsar\cluster\checks.py", line 47, in _clusters_safety_checks
    raise TypeError('`pvals` has to be a list of floats or numpy array.')

TypeError: `pvals` has to be a list of floats or numpy array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant