Skip to content

Halo mass partial functions have no __name__ attribute #595

@rrjbca

Description

@rrjbca

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:

halofit_smith.__name__ = "halofit_smith"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions