diff --git a/setup.cfg b/setup.cfg index 1edf0f6..ddbd955 100644 --- a/setup.cfg +++ b/setup.cfg @@ -70,7 +70,7 @@ tests = pre-commit mpmath>=1.0.0 colossus>=1.2.1 - halomod + halomod@git+https://github.com/halomod/halomod dev = hmf[docs,tests] cosmo = diff --git a/setup.py b/setup.py deleted file mode 100644 index c99d4ff..0000000 --- a/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -"""Setup the package.""" - -from setuptools import setup - -setup() diff --git a/tests/test_transfer.py b/tests/test_transfer.py index 984d7ed..e904654 100644 --- a/tests/test_transfer.py +++ b/tests/test_transfer.py @@ -5,17 +5,6 @@ from astropy.cosmology import LambdaCDM, w0waCDM, wCDM from hmf.density_field.transfer import Transfer -from hmf.density_field.transfer_models import EH_BAO - -# def rms(a): -# print(a) -# print("RMS: ", np.sqrt(np.mean(np.square(a)))) -# return np.sqrt(np.mean(np.square(a))) - -# -# def check_close(t, t2, fit): -# t.update(transfer_model=fit) -# assert np.mean(np.abs((t.power - t2.power) / t.power)) < 1 @pytest.fixture @@ -41,8 +30,6 @@ def test_updates(transfers, name, val): def test_halofit(): t = Transfer(lnk_min=-20, lnk_max=20, dlnk=0.05, transfer_model="EH") - print(EH_BAO._defaults) - print("in test_transfer, params are: ", t.transfer_params) assert np.isclose(t.power[0], t.nonlinear_power[0]) assert 5 * t.power[-1] < t.nonlinear_power[-1]