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

Bug in glm_reporter under python 3 #287

Open
dohmatob opened this issue Jan 18, 2018 · 1 comment
Open

Bug in glm_reporter under python 3 #287

dohmatob opened this issue Jan 18, 2018 · 1 comment

Comments

@dohmatob
Copy link
Contributor

dohmatob commented Jan 18, 2018

synopsis

/home/darya/.local/lib/python3.6/site-packages/pypreprocess/reporting/glm_reporter.py in <listcomp>(.0)
     84                                 height_control=height_control)
          85     if clusters is not None:
          ---> 86         clusters = [c for c in clusters if c['cluster_p_value'] < cluster_pval]
               87     else:
                    88         clusters = []

TypeError: '<' not supported between instances of 'NoneType' and 'float'

Notes

The problem does happen under python 2

@hcherkaoui
Copy link

Probably related to "slice timing broken in python 3k" issue #285, since it seems that pypreprocess is not python 3.5 compliant.

I try to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants