skypy
skypy copied to clipboard
Halo mass partial functions have no __name__ attribute
In halos/mass.py all of the partial
functions do not have a __name__
attribute and therefore cannot be run in pipelines. This is raised as an error when building one of the examples in the documentation: https://readthedocs.org/projects/skypy/builds/19303339/
The name attribute should be set manually for each of these partial functions. See e.g. here: https://github.com/skypyproject/skypy/blob/969cb15f8ce2946304bc516898b25b43e1a9375d/skypy/power_spectrum/_halofit.py#L208