From f6cb1a4ddb9da06fc9aa540b4542ac1b4d018b81 Mon Sep 17 00:00:00 2001 From: mlietzow Date: Mon, 26 Aug 2024 15:21:26 +0200 Subject: [PATCH] updated warning text if wavelength is out of dust catalog --- miex_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miex_app.py b/miex_app.py index eb61169..019b72f 100644 --- a/miex_app.py +++ b/miex_app.py @@ -325,7 +325,7 @@ def interp1d_log(xx, yy, kind="linear", fill_value=np.nan): k_tmp = np.atleast_1d(k_tmp) if wavelength[0] < w_tmp[0] or wavelength[-1] > w_tmp[-1]: - st.warning(f"Defined wavelength for {fnames[icomp].name} is out of the range of the dust catalog") + st.warning(f"Defined wavelength is out of the range of the dust catalog for {fnames[icomp].name}") real_interp = interp1d_log( w_tmp,