From 570124daef8e39ae38bc525ddc9320cb3ba3be4d Mon Sep 17 00:00:00 2001 From: Josh Shields Date: Mon, 14 Oct 2024 15:58:34 -0400 Subject: [PATCH] fix typo pointing to wrong opacity source in logger message --- stardis/radiation_field/opacities/opacities_solvers/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stardis/radiation_field/opacities/opacities_solvers/util.py b/stardis/radiation_field/opacities/opacities_solvers/util.py index 0d83b2cb..d948dc94 100644 --- a/stardis/radiation_field/opacities/opacities_solvers/util.py +++ b/stardis/radiation_field/opacities/opacities_solvers/util.py @@ -58,7 +58,7 @@ def sigma_file(tracing_lambdas, temperatures, fpath, opacity_source=None): ) # Scaling from Stancil 1994 table if np.any(sigmas == 0): logger.warning( - f"Outside of interpolation range for H2+ BF cross-sections at depth points {np.unique(np.where(sigmas == 0)[0])}. Assuming 0 opacity from H-FF for these depth points." + f"Outside of interpolation range for H2+ BF cross-sections at depth points {np.unique(np.where(sigmas == 0)[0])}. Assuming 0 opacity from H2+BF for these depth points." ) elif ( opacity_source == "Hminus_ff"