From 26a63b5d361c8e4a9f255b92289d69db7738c2d4 Mon Sep 17 00:00:00 2001 From: Andrew Hearin Date: Fri, 20 Feb 2026 09:25:59 -0600 Subject: [PATCH 1/2] Add SIMULATION_FIT_PARAMS to top-level imports from diffstar.diffstarpop --- diffstar/diffstarpop/__init__.py | 3 +++ diffstar/diffstarpop/tests/test_imports.py | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 diffstar/diffstarpop/tests/test_imports.py diff --git a/diffstar/diffstarpop/__init__.py b/diffstar/diffstarpop/__init__.py index 326121a..c14809e 100644 --- a/diffstar/diffstarpop/__init__.py +++ b/diffstar/diffstarpop/__init__.py @@ -11,6 +11,9 @@ get_bounded_diffstarpop_params, get_unbounded_diffstarpop_params, ) +from .kernels.params.params_diffstarpopfits_mgash import ( + DiffstarPop_Params_Diffstarpopfits_mgash as SIMULATION_FIT_PARAMS, +) from .mc_diffstarpop_mgash import ( mc_diffstar_params_galpop, mc_diffstar_params_singlegal, diff --git a/diffstar/diffstarpop/tests/test_imports.py b/diffstar/diffstarpop/tests/test_imports.py new file mode 100644 index 0000000..391c67a --- /dev/null +++ b/diffstar/diffstarpop/tests/test_imports.py @@ -0,0 +1,5 @@ +"""Tests of top-level imports from diffstar.diffstarpop""" + + +def test_simulation_fits(): + from .. import SIMULATION_FIT_PARAMS # noqa From 466b97edbdf3b7289eea28c92b07d77e1e3c8290 Mon Sep 17 00:00:00 2001 From: Andrew Hearin Date: Wed, 6 May 2026 10:31:24 -0500 Subject: [PATCH 2/2] Update changelog --- CHANGES.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 72b96c3..1ddd68b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,6 @@ -1.0.2 (unreleased) +1.0.2 (2026-05-06) ------------------ +- Bug fixed in satellite-specific quenching ingredient (https://github.com/ArgonneCPAC/diffstar/pull/112) - Monte Carlo SFH generators now have required kwargs lgt0 and fb (https://github.com/ArgonneCPAC/diffstar/pull/108)