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

Tutorial on readthedocs: FFTPower requires mode argument #685

Open
dstndstn opened this issue Oct 5, 2023 · 1 comment
Open

Tutorial on readthedocs: FFTPower requires mode argument #685

dstndstn opened this issue Oct 5, 2023 · 1 comment

Comments

@dstndstn
Copy link

dstndstn commented Oct 5, 2023

Describe the bug

I'm following the steps on
https://nbodykit.readthedocs.io/en/latest/

and at this line

result = FFTPower(mesh, Nmu=5)

I get the error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_1044199/248341081.py in <module>
----> 1 result = FFTPower(mesh, Nmu=5)

TypeError: __init__() missing 1 required positional argument: 'mode'

Looks like it needs a mode argument,

result = FFTPower(mesh, '1d', Nmu=5)

@rainwoodman
Copy link
Member

Thanks! Did you find out where the source of that doc page is? If we can find it a fix should be easy (assuming the doc building infra still runs). If the doc building infra is already broken (GitHub disabled many of the old hooks and travis-ci is long gone), then we probably think a bit more on how to best effort the fix.

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

2 participants