skypyproject / skypy

SkyPy: A package for modelling the Universe.
BSD 3-Clause "New" or "Revised" License
117 stars 38 forks source link

Add __name__ to Halofit partial models for logging #528

Closed rrjbca closed 2 years ago

rrjbca commented 2 years ago

Description

Add name to halofit partial models (halofit_smith, halofit_takahashi, halofit_bird) as this is required for pipeline logging. Partial fix to documentation build error in the power spectrum example plot.

~N.b. the readthedocs build error AttributeError: 'function' object has no attribute 'Om0' is a separate issue addressed by #527. This PR should be merged after that one.~

Checklist